clang-format: Update to match docs repo
Update the .clang-format file and run clang-format-6.0.
This .clang-format matches the example one in
https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting
Change-Id: Ic2c462525eb27b8295c2b298871e04268d93faf2
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/bmc_time_change_listener.hpp b/bmc_time_change_listener.hpp
index 44fc479..2c382f6 100644
--- a/bmc_time_change_listener.hpp
+++ b/bmc_time_change_listener.hpp
@@ -9,16 +9,15 @@
class BmcTimeChangeListener
{
- public:
- virtual ~BmcTimeChangeListener() = default;
+ public:
+ virtual ~BmcTimeChangeListener() = default;
- /** @brief Notified on bmc time is changed
- *
- * @param[in] bmcTime - The epoch time in microseconds
- */
- virtual void onBmcTimeChanged(
- const std::chrono::microseconds& bmcTime) = 0;
+ /** @brief Notified on bmc time is changed
+ *
+ * @param[in] bmcTime - The epoch time in microseconds
+ */
+ virtual void onBmcTimeChanged(const std::chrono::microseconds& bmcTime) = 0;
};
-}
-}
+} // namespace time
+} // namespace phosphor