Searched refs:ReferenceLoc (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/ |
D | FindTarget.cpp | 753 llvm::SmallVector<ReferenceLoc, 2> refInDecl(const Decl *D) { in refInDecl() 755 llvm::SmallVector<ReferenceLoc, 2> Refs; in refInDecl() 760 Refs.push_back(ReferenceLoc{D->getQualifierLoc(), in refInDecl() 769 ReferenceLoc{D->getQualifierLoc(), D->getLocation(), /*IsDecl=*/false, in refInDecl() 779 Refs.push_back(ReferenceLoc{D->getQualifierLoc(), in refInDecl() 801 Refs.push_back(ReferenceLoc{getQualifierLoc(*ND), in refInDecl() 810 Refs.push_back(ReferenceLoc{DG->getQualifierLoc(), in refInDecl() 822 llvm::SmallVector<ReferenceLoc, 2> refInStmt(const Stmt *S) { in refInStmt() 825 llvm::SmallVector<ReferenceLoc, 2> Refs; in refInStmt() 828 Refs.push_back(ReferenceLoc{E->getNestedNameSpecifierLoc(), in refInStmt() [all …]
|
D | FindTarget.h | 126 struct ReferenceLoc { struct 140 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, ReferenceLoc R); argument 149 llvm::function_ref<void(ReferenceLoc)> Out); 151 llvm::function_ref<void(ReferenceLoc)> Out); 153 llvm::function_ref<void(ReferenceLoc)> Out);
|
D | SemanticHighlighting.cpp | 121 llvm::Optional<HighlightingKind> kindForReference(const ReferenceLoc &R) { in kindForReference() 393 findExplicitReferences(C, [&](ReferenceLoc R) { in getSemanticHighlightings()
|
D | XRefs.cpp | 1736 findExplicitReferences(FD, [&](ReferenceLoc Ref) { in getNonLocalDeclRefs()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | FindTargetTests.cpp | 934 std::vector<ReferenceLoc> Refs; in annotateReferencesInFoo() 936 findExplicitReferences(Func->getBody(), [&Refs](ReferenceLoc R) { in annotateReferencesInFoo() 940 findExplicitReferences(NS, [&Refs, &NS](ReferenceLoc R) { in annotateReferencesInFoo() 950 llvm::sort(Refs, [&](const ReferenceLoc &L, const ReferenceLoc &R) { in annotateReferencesInFoo()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | ExtractFunction.cpp | 179 [&DeclsInExtZone](const ReferenceLoc &Loc) { in requiresHoisting() 194 findExplicitReferences(S, [&](const ReferenceLoc &Loc) { in requiresHoisting() 428 void markOccurence(ZoneRelative ReferenceLoc); 462 ZoneRelative ReferenceLoc) { in markOccurence() argument 463 switch (ReferenceLoc) { in markOccurence()
|
D | RemoveUsingNamespace.cpp | 151 findExplicitReferences(D, [&](ReferenceLoc Ref) { in apply()
|
D | DefineInline.cpp | 165 findExplicitReferences(FD->getBody(), [&](ReferenceLoc Ref) { in qualifyAllDecls() 280 [&](ReferenceLoc Ref) { in renameParameters()
|
D | DefineOutline.cpp | 160 findExplicitReferences(FD, [&](ReferenceLoc Ref) { in getFunctionSourceCode()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.cpp | 306 findExplicitReferences(TopLevelDecl, [&](ReferenceLoc Ref) { in findOccurrencesWithinFile()
|