Skip to content

Commit

Permalink
test: exclude problemetic checks
Browse files Browse the repository at this point in the history
bugprone-unchecked-optional-access: llvm/llvm-project#111003
bugprone-chained-comparison: conflicts with catch2
clang-diagnostic-unused-macros: llvm/llvm-project#59572
clang-analyzer-optin: segfaults
  • Loading branch information
scarf005 committed Oct 5, 2024
1 parent f72516c commit ee8bf17
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,21 @@ Checks: >
-readability-redundant-access-specifiers,
-readability-use-anyofallof,
-bugprone-throw-keyword-missing,
-readability-identifier-naming,
-bugprone-unchecked-optional-access,
-bugprone-chained-comparison,
-bugprone-easily-swappable-parameters,
-bugprone-switch-missing-default-case,
-misc-const-correctness,
-misc-include-cleaner,
-misc-use-anonymous-namespace,
-clang-diagnostic-unused-macros,
-clang-analyzer-optin.*,
# https://github.com/llvm/llvm-project/issues/59572
# https://github.com/llvm/llvm-project/issues/111003

WarningsAsErrors: '*'
HeaderFilterRegex: "(src|(test(?!.*catch.*catch.h))|tools).*"
FormatStyle: none
Expand Down

0 comments on commit ee8bf17

Please sign in to comment.