================ @@ -266,7 +265,7 @@ class RenameLocFinder : public RecursiveASTVisitor<RenameLocFinder> { return true; } - bool VisitDeclRefExpr(const DeclRefExpr *Expr) { ---------------- cor3ntin wrote: Why are we removing const here (and other places)? https://github.com/llvm/llvm-project/pull/116823