Home
last modified time | relevance | path

Searched refs:getKeywordLoc (Results 1 – 7 of 7) sorted by relevance

/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h275 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc() function
493 SourceLocation getKeywordLoc() const { return CoreturnLoc; } in getKeywordLoc() function
H A DStmt.h1805 SourceLocation getKeywordLoc() const { return SwitchCaseBits.KeywordLoc; }
1815 SourceLocation getBeginLoc() const { return getKeywordLoc(); }
1897 SourceLocation getCaseLoc() const { return getKeywordLoc(); }
1954 SourceLocation getBeginLoc() const { return getKeywordLoc(); }
1997 SourceLocation getDefaultLoc() const { return getKeywordLoc(); }
2000 SourceLocation getBeginLoc() const { return getKeywordLoc(); }
H A DExprCXX.h5166 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getSuspendReturnType()
5250 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getOperatorCoawaitLookup()
5168 SourceLocation getKeywordLoc() const { return KeywordLoc; } getKeywordLoc() function
5252 SourceLocation getKeywordLoc() const { return KeywordLoc; } getKeywordLoc() function
/llvm-project/clang-tools-extra/clangd/
H A DXRefs.cpp1058 found(Case, C->getKeywordLoc()); in VisitReturnStmt()
1088 return SM.isBeforeInTranslationUnit(L->getKeywordLoc(), R->getKeywordLoc());
1093 return !SM.isBeforeInTranslationUnit(Loc, C->getKeywordLoc()); in findCaseBounds()
1096 : (*CaseAfter)->getKeywordLoc(); in findCaseBounds()
1107 return SourceRange((*CaseBefore)->getKeywordLoc(), End); in findCaseBounds()
/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp161 Record.AddSourceLocation(S->getKeywordLoc()); in VisitSwitchCase()
436 Record.AddSourceLocation(S->getKeywordLoc()); in VisitCoreturnStmt()
445 Record.AddSourceLocation(E->getKeywordLoc()); in VisitCoroutineSuspendExpr()
464 Record.AddSourceLocation(E->getKeywordLoc()); in VisitDependentCoawaitExpr()
1689 Record.AddSourceLocation(S->getKeywordLoc()); in VisitCXXOperatorCallExpr()
/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1445 Builder.markChildToken(S->getKeywordLoc(), in WalkUpFromCaseStmt()
1455 Builder.markChildToken(S->getKeywordLoc(), in WalkUpFromDefaultStmt()
/llvm-project/clang/lib/Sema/
H A DTreeTransform.h8772 return getDerived().RebuildCoreturnStmt(S->getKeywordLoc(), Result.get(), in TransformObjCForCollectionStmt()
8790 getSema().getCurScope(), E->getKeywordLoc()); in TransformCXXCatchStmt()
8795 E->getKeywordLoc(), Operand.get(), in TransformCXXCatchStmt()
8816 E->getKeywordLoc(), OperandResult.get(), in TransformCXXTryStmt()
8830 return getDerived().RebuildCoyieldExpr(E->getKeywordLoc(), Result.get());
9228 return new (getSema().Context) NullStmt(S->getKeywordLoc()); in TransformOMPUnrollDirective()
9234 return new (getSema().Context) NullStmt(S->getKeywordLoc());
9254 return getDerived().RebuildMSDependentExistsStmt(S->getKeywordLoc(),