sammccall added inline comments.
================ Comment at: lib/Tooling/Refactoring/Rename/RenamingAction.cpp:143 + } + auto USRs = getUSRsForDeclaration(ND, Context.getASTContext()); + return tooling::createRenameAtomicChanges( ---------------- hokein wrote: > sammccall wrote: > > if this is a local refactor, and there are no USRs (symbol doesn't exist), > > is this an error that needs to be signaled somehow? > This case should not be happened IMO. If we find the `ND`, we will rename > `ND` at least. Oops, of course. Maybe an assert? https://reviews.llvm.org/D39332 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits