Issue |
120092
|
Summary |
[[Clang]] Don't traverse parameter list twice in `RequiresExpr`.
|
Labels |
clang
|
Assignees |
|
Reporter |
16bit-ykiko
|
https://github.com/llvm/llvm-project/blob/3c3094b60d3587b1db8ef35b3bf54e73ac5894d9/clang/include/clang/AST/RecursiveASTVisitor.h#L2985-L2991
Currently, ASTVisitor traverses parameter list twice in `RequiresExpr`. First, and then it is when traverse `decls` of the body of `RequiresExpr`, another is when traversing `S->getLocalParameters()`. This is unnecessary and could be optimized.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs