Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
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()
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()
502 SymbolOccurrences getOccurrencesOfUSRs(ArrayRef<std::string> USRs, in getOccurrencesOfUSRs() argument
504 USRLocFindingASTVisitor Visitor(USRs, PrevName, Decl->getASTContext()); in getOccurrencesOfUSRs()
510 createRenameAtomicChanges(llvm::ArrayRef<std::string> USRs, in createRenameAtomicChanges() argument
512 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges()
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
DUSRLocFinder.h38 createRenameAtomicChanges(llvm::ArrayRef<std::string> USRs,
46 SymbolOccurrences getOccurrencesOfUSRs(ArrayRef<std::string> USRs,
/external/clang/test/Index/
Dcindex-on-invalid-usrs.m3 // <rdar://problem/8452791> - Crash when generating USRs.
/external/llvm-project/clang/test/Index/
Dcindex-on-invalid-usrs.m3 // <rdar://problem/8452791> - Crash when generating USRs.