Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtCXX.h274 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc() function
478 SourceLocation getKeywordLoc() const { return CoreturnLoc; } in getKeywordLoc() function
H A DStmt.h1578 SourceLocation getKeywordLoc() const { return SwitchCaseBits.KeywordLoc; } in getKeywordLoc() function
1588 SourceLocation getBeginLoc() const { return getKeywordLoc(); } in getBeginLoc()
1670 SourceLocation getCaseLoc() const { return getKeywordLoc(); } in getCaseLoc()
1727 SourceLocation getBeginLoc() const { return getKeywordLoc(); } in getBeginLoc()
1770 SourceLocation getDefaultLoc() const { return getKeywordLoc(); } in getDefaultLoc()
1773 SourceLocation getBeginLoc() const { return getKeywordLoc(); } in getBeginLoc()
H A DExprCXX.h4766 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc() function
4850 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc() function
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp1072 found(Case, C->getKeywordLoc()); in VisitSwitchCase()
1102 return SM.isBeforeInTranslationUnit(L->getKeywordLoc(), R->getKeywordLoc()); in findCaseBounds()
1107 return !SM.isBeforeInTranslationUnit(Loc, C->getKeywordLoc()); in findCaseBounds()
1110 : (*CaseAfter)->getKeywordLoc(); in findCaseBounds()
1121 return SourceRange((*CaseBefore)->getKeywordLoc(), End); in findCaseBounds()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp97 Record.AddSourceLocation(S->getKeywordLoc()); in VisitSwitchCase()
367 Record.AddSourceLocation(S->getKeywordLoc()); in VisitCoreturnStmt()
376 Record.AddSourceLocation(E->getKeywordLoc()); in VisitCoroutineSuspendExpr()
395 Record.AddSourceLocation(E->getKeywordLoc()); in VisitDependentCoawaitExpr()
1562 Record.AddSourceLocation(S->getKeywordLoc()); in VisitMSDependentExistsStmt()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1444 Builder.markChildToken(S->getKeywordLoc(), in WalkUpFromCaseStmt()
1454 Builder.markChildToken(S->getKeywordLoc(), in WalkUpFromDefaultStmt()
/llvm-project-15.0.7/clang/lib/Sema/
H A DTreeTransform.h7962 return getDerived().RebuildCoreturnStmt(S->getKeywordLoc(), Result.get(), in TransformCoreturnStmt()
7980 getSema().getCurScope(), E->getKeywordLoc()); in TransformCoawaitExpr()
7985 E->getKeywordLoc(), Operand.get(), in TransformCoawaitExpr()
8006 E->getKeywordLoc(), OperandResult.get(), in TransformDependentCoawaitExpr()
8020 return getDerived().RebuildCoyieldExpr(E->getKeywordLoc(), Result.get()); in TransformCoyieldExpr()
8399 return new (getSema().Context) NullStmt(S->getKeywordLoc()); in TransformMSDependentExistsStmt()
8405 return new (getSema().Context) NullStmt(S->getKeywordLoc()); in TransformMSDependentExistsStmt()
8425 return getDerived().RebuildMSDependentExistsStmt(S->getKeywordLoc(), in TransformMSDependentExistsStmt()