Skip to content

Commit

Permalink
Add misc-misplaced-const check to clang-tidy CI test (#3464)
Browse files Browse the repository at this point in the history
This PR adds the
[misc-misplaced-const](https://releases.llvm.org/14.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc-misplaced-const.html)
check to clang-tidy CI test.
I am not sure if you want to enforce this in AMReX, but I find the
constructs it protects against quite misleading.
  • Loading branch information
lucafedeli88 authored Aug 2, 2023
1 parent 2de66d7 commit 67b8a5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Checks: >
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-*,
misc-misplaced-const,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-macro-to-enum,
Expand Down

0 comments on commit 67b8a5b

Please sign in to comment.