clang-format: Pull the format rules from the openbmc/docs repo
This makes it consistent with other openbmc projects for c++ formatting.
Tested:
Run through the unit test suite.
Change-Id: I92030ce5b42de01360393687fb438faf26f36ac8
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/vpnor/test/read_patch.cpp b/vpnor/test/read_patch.cpp
index 31a422e..9429d4d 100644
--- a/vpnor/test/read_patch.cpp
+++ b/vpnor/test/read_patch.cpp
@@ -2,11 +2,12 @@
// Copyright (C) 2018 IBM Corp.
#include "config.h"
-#include "common.h"
-#include "vpnor/mboxd_pnor_partition_table.h"
#include <assert.h>
+#include "common.h"
+#include "vpnor/mboxd_pnor_partition_table.h"
+
extern "C" {
#include "test/mbox.h"
#include "test/system.h"
@@ -42,7 +43,7 @@
{
namespace test = openpower::virtual_pnor::test;
- struct mbox_context *ctx;
+ struct mbox_context* ctx;
system_set_reserved_size(MEM_SIZE);
system_set_mtd_sizes(PNOR_SIZE, ERASE_SIZE);