Home
last modified time | relevance | path

Searched refs:USRs (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp47 std::vector<std::string> USRs = in findSymbolOccurrences() local
50 return getOccurrencesOfUSRs(USRs, PrevName, in findSymbolOccurrences()
138 auto USRs = getUSRsForDeclaration(ND, Context.getASTContext()); in createSourceReplacements() local
139 assert(!USRs.empty()); in createSourceReplacements()
141 USRs, NewQualifiedName, Context.getASTContext().getTranslationUnitDecl()); in createSourceReplacements()
206 const std::vector<std::string> &USRs) { in HandleOneRename() argument
210 USRs, PrevName, Context.getTranslationUnitDecl()); in HandleOneRename()
H A DUSRLocFinder.cpp58 explicit USRLocFindingASTVisitor(const std::vector<std::string> &USRs, in USRLocFindingASTVisitor() argument
63 USRSet(USRs.begin(), USRs.end()), PrevName(PrevName), Context(Context) { in USRLocFindingASTVisitor()
158 RenameLocFinder(llvm::ArrayRef<std::string> USRs, ASTContext &Context) in RenameLocFinder() argument
159 : USRSet(USRs.begin(), USRs.end()), Context(Context) {} in RenameLocFinder()
520 SymbolOccurrences getOccurrencesOfUSRs(ArrayRef<std::string> USRs, in getOccurrencesOfUSRs() argument
522 USRLocFindingASTVisitor Visitor(USRs, PrevName, Decl->getASTContext()); in getOccurrencesOfUSRs()
528 createRenameAtomicChanges(llvm::ArrayRef<std::string> USRs, in createRenameAtomicChanges() argument
530 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges()
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRLocFinder.h38 createRenameAtomicChanges(llvm::ArrayRef<std::string> USRs,
46 SymbolOccurrences getOccurrencesOfUSRs(ArrayRef<std::string> USRs,
/llvm-project-15.0.7/clang/test/Index/
H A Dcindex-on-invalid-usrs.m3 // <rdar://problem/8452791> - Crash when generating USRs.