================ @@ -266,7 +265,7 @@ class RenameLocFinder : public RecursiveASTVisitor<RenameLocFinder> { return true; } - bool VisitDeclRefExpr(const DeclRefExpr *Expr) { ---------------- cor3ntin wrote:
This makes sense but it is not amazing. How hard do you think it would be to introduce something like `MutableDynamicRecursiveASTVisitor` and preserve constness where possible? https://github.com/llvm/llvm-project/pull/116823 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits