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: I59c0a8c4b89131ecd3e9a841ed37ef3b8dcf8e9d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/biosxml.hpp b/include/biosxml.hpp
index 1936a01..ffc20ba 100644
--- a/include/biosxml.hpp
+++ b/include/biosxml.hpp
@@ -120,8 +120,7 @@
 class Depex
 {
   public:
-    Depex(std::vector<knob::knob>& knobs) : mKnobs(knobs)
-    {}
+    Depex(std::vector<knob::knob>& knobs) : mKnobs(knobs) {}
 
     /* Compute 'depex' expression of all knobs in 'biosknobs'. */
     void compute()
@@ -183,7 +182,7 @@
 
     /* Returns 'true' if the argument string is hex representation of a number.
      */
-    bool isHexNotation(std::string const& s)
+    bool isHexNotation(const std::string& s)
     {
         return s.compare(0, 2, "0x") == 0 && s.size() > 2 &&
                s.find_first_not_of("0123456789abcdefABCDEF", 2) ==
@@ -203,8 +202,8 @@
             }
         }
 
-        std::string error =
-            "Unable to find knob: " + variableName + " in knob list\n";
+        std::string error = "Unable to find knob: " + variableName +
+                            " in knob list\n";
         phosphor::logging::log<phosphor::logging::level::ERR>(error.c_str());
 
         return false;
@@ -658,8 +657,8 @@
     {
         if (!getKnobs(filePath))
         {
-            std::string error =
-                "Unable to get knobs in file: " + std::string(filePath);
+            std::string error = "Unable to get knobs in file: " +
+                                std::string(filePath);
             throw std::runtime_error(error);
         }
     }