clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I172b14c1a881c734851b7dc6e0e90ee2e11cce03
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/cpu.cpp b/src/cpu.cpp
index 7c10a09..7e52bd4 100644
--- a/src/cpu.cpp
+++ b/src/cpu.cpp
@@ -159,8 +159,8 @@
// this class is for type CPU //offset 5h
family(cpuInfo->family, cpuInfo->family2); // offset 6h and 28h
manufacturer(cpuInfo->manufacturer, cpuInfo->length,
- dataIn); // offset 7h
- id(cpuInfo->id); // offset 8h
+ dataIn); // offset 7h
+ id(cpuInfo->id); // offset 8h
// Step, EffectiveFamily, EffectiveModel computation for Intel processors.
std::map<uint8_t, const char*>::const_iterator it =
@@ -208,10 +208,10 @@
version(cpuInfo->version, cpuInfo->length, dataIn); // offset 10h
maxSpeedInMhz(cpuInfo->maxSpeed); // offset 14h
serialNumber(cpuInfo->serialNum, cpuInfo->length,
- dataIn); // offset 20h
+ dataIn); // offset 20h
partNumber(cpuInfo->partNum, cpuInfo->length,
- dataIn); // offset 22h
- if (cpuInfo->coreCount < maxOldVersionCount) // offset 23h or 2Ah
+ dataIn); // offset 22h
+ if (cpuInfo->coreCount < maxOldVersionCount) // offset 23h or 2Ah
{
coreCount(cpuInfo->coreCount);
}