Home
last modified time | relevance | path

Searched refs:CondVar (Results 1 – 4 of 4) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseStmt.cpp1104 Decl *CondVar = nullptr; in ParseIfStatement() local
1105 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
1192 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
1231 Decl *CondVar = nullptr; in ParseSwitchStatement() local
1232 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1236 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1319 Decl *CondVar = nullptr; in ParseWhileStatement() local
1320 if (ParseParenExprOrCondition(Cond, CondVar, WhileLoc, true)) in ParseWhileStatement()
1345 if ((Cond.isInvalid() && !CondVar) || Body.isInvalid()) in ParseWhileStatement()
1348 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get()); in ParseWhileStatement()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaStmt.cpp483 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
488 if (!CondVal.get() && !CondVar) { in ActOnIfStmt()
496 if (CondVar) { in ActOnIfStmt()
497 ConditionVar = cast<VarDecl>(CondVar); in ActOnIfStmt()
581 Decl *CondVar) { in ActOnStartOfSwitchStmt() argument
585 if (CondVar) { in ActOnStartOfSwitchStmt()
586 ConditionVar = cast<VarDecl>(CondVar); in ActOnStartOfSwitchStmt()
1225 Decl *CondVar, Stmt *Body) { in ActOnWhileStmt() argument
1229 if (CondVar) { in ActOnWhileStmt()
1230 ConditionVar = cast<VarDecl>(CondVar); in ActOnWhileStmt()
HDTreeTransform.h1160 VarDecl *CondVar, Stmt *Then, in RebuildIfStmt() argument
1162 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1170 Expr *Cond, VarDecl *CondVar) { in RebuildSwitchStmtStart() argument
1172 CondVar); in RebuildSwitchStmtStart()
1189 VarDecl *CondVar, Stmt *Body) { in RebuildWhileStmt() argument
1190 return getSema().ActOnWhileStmt(WhileLoc, Cond, CondVar, Body); in RebuildWhileStmt()
1210 VarDecl *CondVar, Sema::FullExprArg Inc, in RebuildForStmt() argument
1213 CondVar, Inc, RParenLoc, Body); in RebuildForStmt()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h3269 FullExprArg CondVal, Decl *CondVar,
3274 Decl *CondVar);
3279 Decl *CondVar, Stmt *Body);