Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1707 SourceLocation WhileLoc = Tok.getLocation(); in ParseWhileStatement() local
1742 if (ParseParenExprOrCondition(nullptr, Cond, WhileLoc, in ParseWhileStatement()
1749 getActions().OpenACC().ActOnWhileStmt(WhileLoc); in ParseWhileStatement()
1764 MisleadingIndentationChecker MIChecker(*this, MSK_while, WhileLoc); in ParseWhileStatement()
1778 return Actions.ActOnWhileStmt(WhileLoc, LParen, Cond, RParen, Body.get()); in ParseWhileStatement()
1825 SourceLocation WhileLoc = ConsumeToken(); in ParseDoStatement() local
1855 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(), in ParseDoStatement()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h246 SourceLocation WhileLoc;
2805 SourceLocation getWhileLoc() const { return WhileStmtBits.WhileLoc; }
2806 void setWhileLoc(SourceLocation L) { WhileStmtBits.WhileLoc = L; }
2838 SourceLocation WhileLoc;
2844 : Stmt(DoStmtClass), WhileLoc(WL), RParenLoc(RP) {
2866 SourceLocation getWhileLoc() const { return WhileLoc; }
2867 void setWhileLoc(SourceLocation L) { WhileLoc = L; }
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp933 void SemaOpenACC::ActOnWhileStmt(SourceLocation WhileLoc) { in ActOnWhileStmt() argument
941 Diag(WhileLoc, diag::err_acc_invalid_in_loop) in ActOnWhileStmt()
955 Diag(WhileLoc, diag::err_acc_invalid_in_loop) in ActOnWhileStmt()
H A DSemaStmt.cpp1800 StmtResult Sema::ActOnWhileStmt(SourceLocation WhileLoc, in ActOnWhileStmt() argument
1826 WhileLoc, LParenLoc, RParenLoc); in ActOnWhileStmt()
1831 SourceLocation WhileLoc, SourceLocation CondLParen, in ActOnDoStmt() argument
1860 return new (Context) DoStmt(Body, Cond, DoLoc, WhileLoc, CondRParen); in ActOnDoStmt()
H A DTreeTransform.h1442 StmtResult RebuildWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildWhileStmt() argument
1445 return getSema().ActOnWhileStmt(WhileLoc, LParenLoc, Cond, RParenLoc, Body); in RebuildWhileStmt()
1453 SourceLocation WhileLoc, SourceLocation LParenLoc, in RebuildDoStmt() argument
1455 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc, in RebuildDoStmt()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h749 void ActOnWhileStmt(SourceLocation WhileLoc);
H A DSema.h10951 StmtResult ActOnWhileStmt(SourceLocation WhileLoc, SourceLocation LParenLoc,
10955 SourceLocation WhileLoc, SourceLocation CondLParen,