Home
last modified time | relevance | path

Searched refs:WhileLoc (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp1724 SourceLocation WhileLoc = Tok.getLocation(); in ParseWhileStatement() local
1759 if (ParseParenExprOrCondition(nullptr, Cond, WhileLoc, in ParseWhileStatement()
1777 MisleadingIndentationChecker MIChecker(*this, MSK_while, WhileLoc); in ParseWhileStatement()
1791 return Actions.ActOnWhileStmt(WhileLoc, LParen, Cond, RParen, Body.get()); in ParseWhileStatement()
1837 SourceLocation WhileLoc = ConsumeToken(); in ParseDoStatement() local
1870 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(), in ParseDoStatement()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h212 SourceLocation WhileLoc; in alignas() local
2478 SourceLocation getWhileLoc() const { return WhileStmtBits.WhileLoc; } in getWhileLoc()
2479 void setWhileLoc(SourceLocation L) { WhileStmtBits.WhileLoc = L; } in setWhileLoc()
2513 SourceLocation WhileLoc; variable
2519 : Stmt(DoStmtClass), WhileLoc(WL), RParenLoc(RP) { in DoStmt()
2541 SourceLocation getWhileLoc() const { return WhileLoc; } in getWhileLoc()
2542 void setWhileLoc(SourceLocation L) { WhileLoc = L; } in setWhileLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp1684 StmtResult Sema::ActOnWhileStmt(SourceLocation WhileLoc, in ActOnWhileStmt() argument
1701 WhileLoc, LParenLoc, RParenLoc); in ActOnWhileStmt()
1706 SourceLocation WhileLoc, SourceLocation CondLParen, in ActOnDoStmt() argument
1726 return new (Context) DoStmt(Body, Cond, DoLoc, WhileLoc, CondRParen); in ActOnDoStmt()
H A DTreeTransform.h1361 StmtResult RebuildWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildWhileStmt() argument
1364 return getSema().ActOnWhileStmt(WhileLoc, LParenLoc, Cond, RParenLoc, Body); in RebuildWhileStmt()
1372 SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildDoStmt() argument
1374 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc, in RebuildDoStmt()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h4969 StmtResult ActOnWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc,
4973 SourceLocation WhileLoc, SourceLocation CondLParen,