Lines Matching defs:CurLoc
380 locateASTReferent(SourceLocation CurLoc, const syntax::Token *TouchedIdentifier,
409 getDeclAtPositionWithRelations(AST, CurLoc, Relations, &NodeKind);
442 : CurLoc,
755 auto CurLoc = sourceLocationInMainFile(SM, Pos);
756 if (!CurLoc) {
758 CurLoc.takeError());
764 syntax::spelledTokensTouching(*CurLoc, AST.getTokens());
789 auto ASTResults = locateASTReferent(*CurLoc, TouchedIdentifier, AST,
796 SpelledWord::touching(*CurLoc, AST.getTokens(), AST.getLangOpts());
1222 auto CurLoc = sourceLocationInMainFile(SM, Pos);
1223 if (!CurLoc) {
1224 llvm::consumeError(CurLoc.takeError());
1253 AST.getSourceManager().getDecomposedSpellingLoc(*CurLoc).second;
1267 auto CurLoc = sourceLocationInMainFile(SM, Pos);
1268 if (!CurLoc) {
1270 CurLoc.takeError());
1277 for (const NamedDecl *ND : getDeclAtPosition(AST, *CurLoc, Relations)) {
1369 auto CurLoc = sourceLocationInMainFile(SM, Pos);
1370 if (!CurLoc) {
1371 llvm::consumeError(CurLoc.takeError());
1383 syntax::spelledIdentifierTouching(*CurLoc, AST.getTokens());
1413 getDeclAtPosition(AST, *CurLoc, Relations);
1582 auto CurLoc = sourceLocationInMainFile(SM, Pos);
1583 if (!CurLoc) {
1584 llvm::consumeError(CurLoc.takeError());
1594 for (const NamedDecl *D : getDeclAtPosition(AST, *CurLoc, Relations)) {
1623 syntax::spelledIdentifierTouching(*CurLoc, AST.getTokens());