Enable readability check
readability-avoid-nested-conditional-operator
With one exception, we already pass this check. Update the log services
code to make it pass, and update it to use the generated enums.
Tested: Code inspection only.
Change-Id: Ic80a7382beb0f541de4916d7b51e42ed5d5dc542
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/.clang-tidy b/.clang-tidy
index 7cb9ecd..ca103f3 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -305,6 +305,7 @@
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
readability-avoid-const-params-in-decls,
+readability-avoid-nested-conditional-operator,
readability-braces-around-statements,
readability-const-return-type,
readability-container-contains,