Enable clang-tidy and apply fixes

Enable clang-tidy, fix the compile issue and fix the clang-tidy issues.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I6250c6519a725c07b0cd10abe464fda97a2aebd7
diff --git a/command/rakp12.cpp b/command/rakp12.cpp
index 7a5f198..5c674ac 100644
--- a/command/rakp12.cpp
+++ b/command/rakp12.cpp
@@ -35,7 +35,7 @@
     lg2::error(
         "message: {MSG}, id: {REDFISH_MESSAGE_ID}, args: {REDFISH_MESSAGE_ARGS}",
         "MSG", journalMsg, "REDFISH_MESSAGE_ID", messageID,
-        "REDFISH_MESSAGE_ARGS", messageArgs.value());
+        "REDFISH_MESSAGE_ARGS", messageArgs.value_or(std::string{}));
 }
 std::vector<uint8_t> RAKP12(const std::vector<uint8_t>& inPayload,
                             std::shared_ptr<message::Handler>& /* handler */)