Add some notes about missing/disabled cppcoreguildlines clang-tidy checkers

This commit is contained in:
Tim Wojtulewicz 2025-05-09 13:49:38 -07:00
parent 460fe24a9a
commit 05aa4690ad

View file

@ -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,
] ]