add clang-tidy
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:
Clang-tidy now passes.
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: Ia441e4801b6c8725421d160c531c5df141f255d4
diff --git a/src/NVMeSensorMain.cpp b/src/NVMeSensorMain.cpp
index 0552fad..21e722f 100644
--- a/src/NVMeSensorMain.cpp
+++ b/src/NVMeSensorMain.cpp
@@ -14,8 +14,7 @@
// limitations under the License.
*/
-#include "NVMeSensor.hpp"
-
+#include <NVMeSensor.hpp>
#include <boost/asio/deadline_timer.hpp>
#include <regex>
@@ -25,7 +24,7 @@
static NVMEMap nvmeDeviceMap;
-static constexpr bool DEBUG = false;
+static constexpr bool debug = false;
NVMEMap& getNVMEMap()
{