summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-07 20:39:33 +0300
committerEd Tanous <ed@tanous.net>2022-01-12 22:00:37 +0300
commit49d1eeaab4085cd0284ee041f4775aaa982074c6 (patch)
tree371a4a015aa5514068bd4b47bb6afe9ce01de0b5 /.clang-tidy
parent4bac4a89b2739caf9bb250327757c44dd5f35c16 (diff)
downloadbmcweb-49d1eeaab4085cd0284ee041f4775aaa982074c6.tar.xz
enable cppcoreguidelines-pro-type-vararg checks
We only use varargs in some code we borrowed from nlohmann, so ignore that, and enable the check. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Iab1305784e7532e2ee10c617fb59b75aba142ce6
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 93db92207d..b708a70881 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -210,6 +210,7 @@ cppcoreguidelines-pro-type-const-cast,
cppcoreguidelines-pro-type-cstyle-cast,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-pro-type-reinterpret-cast,
+cppcoreguidelines-pro-type-vararg,
cppcoreguidelines-special-member-functions,
misc-misplaced-const,
#misc-no-recursion,