Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1812 SourceLocation WhileLoc = Tok.getLocation(); in ParseWhileStatement() local
1847 if (ParseParenExprOrCondition(nullptr, Cond, WhileLoc, in ParseWhileStatement()
1864 MisleadingIndentationChecker MIChecker(*this, MSK_while, WhileLoc); in ParseWhileStatement()
1878 return Actions.ActOnWhileStmt(WhileLoc, LParen, Cond, RParen, Body.get()); in ParseWhileStatement()
1924 SourceLocation WhileLoc = ConsumeToken(); in ParseDoStatement() local
1958 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(), in ParseDoStatement()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h244 SourceLocation WhileLoc;
2698 SourceLocation getWhileLoc() const { return WhileStmtBits.WhileLoc; }
2699 void setWhileLoc(SourceLocation L) { WhileStmtBits.WhileLoc = L; }
2733 SourceLocation WhileLoc;
2739 : Stmt(DoStmtClass), WhileLoc(WL), RParenLoc(RP) {
2761 SourceLocation getWhileLoc() const { return WhileLoc; }
2762 void setWhileLoc(SourceLocation L) { WhileLoc = L; }
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1719 StmtResult Sema::ActOnWhileStmt(SourceLocation WhileLoc, in ActOnWhileStmt() argument
1736 WhileLoc, LParenLoc, RParenLoc); in ActOnWhileStmt()
1741 SourceLocation WhileLoc, SourceLocation CondLParen, in ActOnDoStmt() argument
1761 return new (Context) DoStmt(Body, Cond, DoLoc, WhileLoc, CondRParen); in ActOnDoStmt()
H A DTreeTransform.h1448 StmtResult RebuildWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildWhileStmt() argument
1451 return getSema().ActOnWhileStmt(WhileLoc, LParenLoc, Cond, RParenLoc, Body); in RebuildWhileStmt()
1459 SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildDoStmt() argument
1461 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc, in RebuildDoStmt()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10736 StmtResult ActOnWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc,
10740 SourceLocation WhileLoc, SourceLocation CondLParen,