[all-commits] [llvm/llvm-project] 767d34: Disable misc-no-recursion checking in Clang

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu May 27 07:39:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 767d34e3bdddef6c1871006dd0a2d06a4e1bcd5d
      https://github.com/llvm/llvm-project/commit/767d34e3bdddef6c1871006dd0a2d06a4e1bcd5d
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2021-05-27 (Thu, 27 May 2021)

  Changed paths:
    M clang/.clang-tidy

  Log Message:
  -----------
  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.




More information about the All-commits mailing list