Module: check_mk
Branch: master
Commit: eae8524729b2466a4d683f840b3f2e32bfc2f427
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eae8524729b246…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Jan 11 10:45:13 2017 +0100
We don't define variadic functions anymore. Check that!
Change-Id: I51f9e787962bc2e7f797b9ded78fd26f83133cc3
---
.clang-tidy | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.clang-tidy b/.clang-tidy
index 19328c5..d48b522 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -14,20 +14,18 @@
# * llvm-include-order ("#includes are not sorted properly")
#
# * desirable checks, but hard to fix currently:
-# * cert-dcl50-cpp ("do not define a C-style variadic function; consider using
a function parameter pack or currying instead")
# * cert-env33-c ("calling 'system' uses a command processor")
# * cert-err34-c ("'atoi' used to convert a string to an integer
value, but function will not report conversion errors; consider using 'strtol'
instead")
# * cppcoreguidelines-pro-type-member-init ("uninitialized record type:
'foo'")
# * cppcoreguidelines-pro-type-reinterpret-cast ("do not use
reinterpret_cast")
# * cppcoreguidelines-pro-type-vararg ("do not call c-style vararg
functions")
-
#
# * desirable checks, but some places need to be suppressed:
# * cppcoreguidelines-pro-type-const-cast ("do not use const_cast")
# * cppcoreguidelines-pro-type-union-access ("do not access members of unions;
use (boost::)variant instead")
# * modernize-use-bool-literals ("converting integer literal to bool, use bool
literal instead") Incorrectly triggered by e.g. FD_ZERO
#
-Checks:
'*,-cert-dcl50-cpp,-cert-env33-c,-cert-err34-c,-cert-err58-cpp,-clang-analyzer-alpha*,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-static-cast-downcast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-google-runtime-int,-google-runtime-references,-llvm-include-order,-modernize-use-bool-literals'
+Checks:
'*,-cert-env33-c,-cert-err34-c,-cert-err58-cpp,-clang-analyzer-alpha*,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-static-cast-downcast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-google-runtime-int,-google-runtime-references,-llvm-include-order,-modernize-use-bool-literals'
CheckOptions:
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '1'