Module: check_mk
Branch: master
Commit: 6d856f301c06f7d00212ba143c21e73101270f80
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6d856f301c06f7…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Dec 7 22:19:15 2017 +0100
Exclude llvm-header-guard check for now.
Change-Id: Ia8f9a2f0c873585e204657ca6b6cc55b9df5b728
---
.clang-tidy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.clang-tidy b/.clang-tidy
index aeabfec..46467a1 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -23,13 +23,14 @@
# * cppcoreguidelines-pro-type-reinterpret-cast ("do not use
reinterpret_cast")
# * cppcoreguidelines-pro-type-vararg ("do not call c-style vararg
functions")
# * hicpp-member-init: alias for cppcoreguidelines-pro-type-member-init
+# * llvm-header-guard ("header guard does not follow preferred style")
tricky to get right with the current bear/clang-tidy/symlink situation
#
# * 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:
'*,-android-cloexec-fopen,-android-cloexec-open,-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,-hicpp-member-init,-hicpp-no-assembler,-llvm-include-order,-modernize-use-bool-literals'
+Checks:
'*,-android-cloexec-fopen,-android-cloexec-open,-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,-hicpp-member-init,-hicpp-no-assembler,-llvm-header-guard,-llvm-include-order,-modernize-use-bool-literals'
CheckOptions:
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '1'