Add clang-tidy file
This commit implements a clang-tidy file, and makes
some changes to get it to pass.
Most changes are naming or mechanical in nature.
Tested:
CI passed in docker.
Change-Id: I1f9acf546542c839b8f9facb5b8beff37c0d5909
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/bmc_epoch.hpp b/bmc_epoch.hpp
index 2c5d501..fd5e3f4 100644
--- a/bmc_epoch.hpp
+++ b/bmc_epoch.hpp
@@ -74,7 +74,7 @@
*
* @return Microseconds since UTC
*/
- std::chrono::microseconds getTime() const;
+ static std::chrono::microseconds getTime();
private:
/** @brief The fd for time change event */