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: Ia442cdc88aaeaab2f1384cc46a56f5cd5e40f2f5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/vpd_exceptions.hpp b/vpd_exceptions.hpp
index f3473e5..bcfd366 100644
--- a/vpd_exceptions.hpp
+++ b/vpd_exceptions.hpp
@@ -32,8 +32,7 @@
*/
explicit VPDException(const std::string& msg) :
std::runtime_error(msg), errMsg(msg)
- {
- }
+ {}
/** @brief inline method to return exception string
* This is overridden method of std::runtime class
@@ -68,9 +67,7 @@
/** @brief constructor
* @param[in] - string to define exception
*/
- explicit VpdEccException(const std::string& msg) : VPDException(msg)
- {
- }
+ explicit VpdEccException(const std::string& msg) : VPDException(msg) {}
}; // class VpdEccException
@@ -93,9 +90,7 @@
/** @brief constructor
* @param[in] - string to define exception
*/
- explicit VpdDataException(const std::string& msg) : VPDException(msg)
- {
- }
+ explicit VpdDataException(const std::string& msg) : VPDException(msg) {}
}; // class VpdDataException
@@ -117,8 +112,7 @@
*/
VpdJsonException(const std::string& msg, const std::string& path) :
VPDException(msg), jsonPath(path)
- {
- }
+ {}
/** @brief Json path getter method.
* @return - Json path
@@ -153,11 +147,9 @@
/** @brief constructor
* @param[in] msg - string to define exception
*/
- explicit GpioException(const std::string& msg) : VPDException(msg)
- {
- }
+ explicit GpioException(const std::string& msg) : VPDException(msg) {}
};
} // namespace exceptions
} // namespace vpd
-} // namespace openpower
\ No newline at end of file
+} // namespace openpower