Skip to content

Commit

Permalink
Comply to new CRP clang-tidy checks
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Sep 14, 2022
1 parent e437fe7 commit 80e2459
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
# -bugprone-forward-declaration-namespace # too many false positives in LLAMA
# -cppcoreguidelines-macro-usage # too many macros flagged, which cannot be replaced by constexpr
# -bugprone-exception-escape # bgruber is fine with exceptions escaping main we cannot add main as an exception
# -readability-misleading-indentation # many false positives because of constexpr if
# -readability-static-accessed-through-instance # flags threadIdx/blockIdx in CUDA code
# -cert-err58-cpp # errors in Catch2
# -fuchsia-statically-constructed-objects # too much noise with Catch2
# -bugprone-easily-swappable-parameters # too noisy
# bugprone-forward-declaration-namespace # too many false positives in LLAMA
# cppcoreguidelines-macro-usage # too many macros flagged, which cannot be replaced by constexpr
# bugprone-exception-escape # bgruber is fine with exceptions escaping main we cannot add main as an exception
# readability-misleading-indentation # many false positives because of constexpr if
# readability-static-accessed-through-instance # flags threadIdx/blockIdx in CUDA code
# cert-err58-cpp # errors in Catch2
# fuchsia-statically-constructed-objects # too much noise with Catch2
# bugprone-easily-swappable-parameters # too noisy
# altera-struct-pack-align # too noisy, flags e.g. all traits
Checks: >
*,
-bugprone-exception-escape,
Expand Down Expand Up @@ -81,3 +82,4 @@ CheckOptions:
- { key: readability-identifier-naming.UnionCase, value: CamelCase}
- { key: readability-identifier-naming.ValueTemplateParameterCase, value: CamelCase}
- { key: readability-identifier-naming.VariableCase, value: camelBack}
- { key: performance-for-range-copy.WarnOnAllAutoCopies, value: 1}

0 comments on commit 80e2459

Please sign in to comment.