mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add some notes about missing/disabled cppcoreguildlines clang-tidy checkers
This commit is contained in:
parent
460fe24a9a
commit
05aa4690ad
1 changed files with 12 additions and 0 deletions
12
.clang-tidy
12
.clang-tidy
|
@ -2,6 +2,8 @@ Checks: [-*,
|
||||||
bugprone-*,
|
bugprone-*,
|
||||||
performance-*,
|
performance-*,
|
||||||
|
|
||||||
|
# Enable a very limited number of the cppcoreguidelines checkers.
|
||||||
|
# See the notes for some of the rest of them below.
|
||||||
cppcoreguidelines-macro-usage,
|
cppcoreguidelines-macro-usage,
|
||||||
cppcoreguidelines-misleading-capture-default-by-value,
|
cppcoreguidelines-misleading-capture-default-by-value,
|
||||||
cppcoreguidelines-virtual-class-destructor,
|
cppcoreguidelines-virtual-class-destructor,
|
||||||
|
@ -33,4 +35,14 @@ Checks: [-*,
|
||||||
# This one returns a bunch of findings in DFA and the sqlite library.
|
# This one returns a bunch of findings in DFA and the sqlite library.
|
||||||
# We're unlikely to fix either of them.
|
# We're unlikely to fix either of them.
|
||||||
-performance-no-int-to-ptr,
|
-performance-no-int-to-ptr,
|
||||||
|
|
||||||
|
# These cppcoreguidelines checkers are things we should investigate
|
||||||
|
# and possibly fix, but there are so many findings that we're holding
|
||||||
|
# off doing it for now.
|
||||||
|
#cppcoreguidelines-init-variables,
|
||||||
|
#cppcoreguidelines-prefer-member-initializer,
|
||||||
|
#cppcoreguidelines-pro-type-member-init,
|
||||||
|
#cppcoreguidelines-pro-type-cstyle-cast,
|
||||||
|
#cppcoreguidelines-pro-type-static-cast-downcast,
|
||||||
|
#cppcoreguidelines-special-member-functions,
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue