Update clang format file
Updated clang format file from docs repo to match with clang-format 10.
Also fixed some of files as per new clang format.
Change-Id: I36277447722e5c52dac49e0da745b0b0e870d298
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/src/selcommands.cpp b/src/selcommands.cpp
index e305c44..127a593 100644
--- a/src/selcommands.cpp
+++ b/src/selcommands.cpp
@@ -362,13 +362,15 @@
case 0xA:
errLog = "Bus Fatal" + tmp1.str();
break;
- case 0xD: {
+ case 0xD:
+ {
uint32_t venId = (uint32_t)data[1] << 8 | (uint32_t)data[2];
tmp2 << "Vendor ID: 0x" << std::setw(4) << venId;
errLog = tmp2.str();
}
break;
- case 0xE: {
+ case 0xE:
+ {
uint32_t devId = (uint32_t)data[1] << 8 | (uint32_t)data[2];
tmp2 << "Device ID: 0x" << std::setw(4) << devId;
errLog = tmp2.str();
@@ -479,7 +481,8 @@
switch ((data[1] & 0xC) >> 2)
{
- case 0x0: {
+ case 0x0:
+ {
/* All Info Valid */
uint8_t chnNum = (data[2] & 0x1C) >> 2;