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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I like this, since the entire CFE does a ton of recursion on purpose for all AST related things. Please give others time to disagree however :)