Lines Matching refs:CurLoc
300 locateASTReferent(SourceLocation CurLoc, const syntax::Token *TouchedIdentifier, in locateASTReferent() argument
332 getDeclAtPositionWithRelations(AST, CurLoc, Relations, NodeKind); in locateASTReferent()
358 : CurLoc, in locateASTReferent()
663 auto CurLoc = sourceLocationInMainFile(SM, Pos); in locateSymbolAt() local
664 if (!CurLoc) { in locateSymbolAt()
666 CurLoc.takeError()); in locateSymbolAt()
671 syntax::spelledIdentifierTouching(*CurLoc, AST.getTokens()); in locateSymbolAt()
681 auto ASTResults = locateASTReferent(*CurLoc, TouchedIdentifier, AST, in locateSymbolAt()
688 SpelledWord::touching(*CurLoc, AST.getTokens(), AST.getLangOpts()); in locateSymbolAt()
1092 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findDocumentHighlights() local
1093 if (!CurLoc) { in findDocumentHighlights()
1094 llvm::consumeError(CurLoc.takeError()); in findDocumentHighlights()
1122 AST.getSourceManager().getDecomposedSpellingLoc(*CurLoc).second; in findDocumentHighlights()
1142 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findImplementations() local
1143 if (!CurLoc) { in findImplementations()
1145 CurLoc.takeError()); in findImplementations()
1153 for (const NamedDecl *ND : getDeclAtPosition(AST, *CurLoc, Relations)) in findImplementations()
1193 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findReferences() local
1194 if (!CurLoc) { in findReferences()
1195 llvm::consumeError(CurLoc.takeError()); in findReferences()
1200 syntax::spelledIdentifierTouching(*CurLoc, AST.getTokens())) { in findReferences()
1227 getDeclAtPosition(AST, *CurLoc, Relations); in findReferences()
1284 auto CurLoc = sourceLocationInMainFile(SM, Pos); in getSymbolInfo() local
1285 if (!CurLoc) { in getSymbolInfo()
1286 llvm::consumeError(CurLoc.takeError()); in getSymbolInfo()
1296 for (const NamedDecl *D : getDeclAtPosition(AST, *CurLoc, Relations)) { in getSymbolInfo()
1317 syntax::spelledIdentifierTouching(*CurLoc, AST.getTokens()); in getSymbolInfo()