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: I08b5be09aa8fdf8a9f2c814f2f84f6ddbb345bd3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/pciDeviceClass.hpp b/include/pciDeviceClass.hpp
index 3c08f65..24e0db5 100644
--- a/include/pciDeviceClass.hpp
+++ b/include/pciDeviceClass.hpp
@@ -19,8 +19,8 @@
#include <string>
-static constexpr char const* coprocessorSubClass = "Coprocessor";
-static constexpr char const* otherClass = "Other";
+static constexpr const char* coprocessorSubClass = "Coprocessor";
+static constexpr const char* otherClass = "Other";
static boost::container::flat_map<int, std::string> pciDeviceClasses{
{0x00, "UnclassifiedDevice"},
diff --git a/include/pciVendors.hpp b/include/pciVendors.hpp
index 0354f8d..2c56fbd 100644
--- a/include/pciVendors.hpp
+++ b/include/pciVendors.hpp
@@ -17,7 +17,7 @@
#pragma once
#include <boost/container/flat_map.hpp>
-static constexpr char const* otherVendor = "Other";
+static constexpr const char* otherVendor = "Other";
// This list of Vendors is extracted from the PCI-SIG member-companies page
// ('https://pcisig.com/membership/member-companies') using
diff --git a/include/peci_pcie.hpp b/include/peci_pcie.hpp
index 19c8d9c..9053392 100644
--- a/include/peci_pcie.hpp
+++ b/include/peci_pcie.hpp
@@ -22,10 +22,10 @@
namespace peci_pcie
{
-static constexpr char const* peciPCIeObject = "xyz.openbmc_project.PCIe";
-static constexpr char const* peciPCIePath =
+static constexpr const char* peciPCIeObject = "xyz.openbmc_project.PCIe";
+static constexpr const char* peciPCIePath =
"/xyz/openbmc_project/inventory/pcie";
-static constexpr char const* peciPCIeDeviceInterface =
+static constexpr const char* peciPCIeDeviceInterface =
"xyz.openbmc_project.Inventory.Item.PCIeDevice";
static constexpr const int maxPCIBuses = 256;