diff options
author | 2021-05-27 10:37:33 -0400 | |
---|---|---|
committer | 2021-05-27 10:39:04 -0400 | |
commit | 767d34e3bdddef6c1871006dd0a2d06a4e1bcd5d (patch) | |
tree | 969dcaef5047f44003fb63bf928198002bf06850 /clang/.clang-tidy | |
parent | [VP][SelectionDAG] Add a target-configurable EVL operand type (diff) | |
download | llvm-project-767d34e3bdddef6c1871006dd0a2d06a4e1bcd5d.tar.gz llvm-project-767d34e3bdddef6c1871006dd0a2d06a4e1bcd5d.tar.bz2 llvm-project-767d34e3bdddef6c1871006dd0a2d06a4e1bcd5d.zip |
Disable misc-no-recursion checking in Clang
We currently enable misc-no-recursion, but Clang uses recursion
intentionally in a fair number of places (like RecursiveASTVisitor).
Disabling this check reduces a noise in reviews that add new AST nodes,
like https://reviews.llvm.org/D103112#2780747 which has five CI
warnings that the author can do nothing about.
Diffstat (limited to 'clang/.clang-tidy')
-rw-r--r-- | clang/.clang-tidy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/.clang-tidy b/clang/.clang-tidy index 5b425a712023..f517e9246cf8 100644 --- a/clang/.clang-tidy +++ b/clang/.clang-tidy @@ -1,4 +1,4 @@ -Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-readability-identifier-naming' +Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-readability-identifier-naming,-misc-no-recursion' # Note that the readability-identifier-naming check is disabled, there are too # many violations in the codebase and they create too much noise in clang-tidy # results. |