Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1092 Decl *CondVar = nullptr; in ParseIfStatement() local
1093 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
1180 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
1219 Decl *CondVar = nullptr; in ParseSwitchStatement() local
1220 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1224 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1307 Decl *CondVar = nullptr; in ParseWhileStatement() local
1308 if (ParseParenExprOrCondition(Cond, CondVar, WhileLoc, true)) in ParseWhileStatement()
1333 if ((Cond.isInvalid() && !CondVar) || Body.isInvalid()) in ParseWhileStatement()
1336 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get()); in ParseWhileStatement()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp481 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
486 if (!CondVal.get() && !CondVar) { in ActOnIfStmt()
494 if (CondVar) { in ActOnIfStmt()
495 ConditionVar = cast<VarDecl>(CondVar); in ActOnIfStmt()
578 Decl *CondVar) { in ActOnStartOfSwitchStmt() argument
582 if (CondVar) { in ActOnStartOfSwitchStmt()
583 ConditionVar = cast<VarDecl>(CondVar); in ActOnStartOfSwitchStmt()
651 if (!CondVar) { in ActOnStartOfSwitchStmt()
1229 Decl *CondVar, Stmt *Body) { in ActOnWhileStmt() argument
1233 if (CondVar) { in ActOnWhileStmt()
[all …]
H A DTreeTransform.h1144 VarDecl *CondVar, Stmt *Then, in RebuildIfStmt() argument
1146 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1154 Expr *Cond, VarDecl *CondVar) { in RebuildSwitchStmtStart() argument
1156 CondVar); in RebuildSwitchStmtStart()
1173 VarDecl *CondVar, Stmt *Body) { in RebuildWhileStmt() argument
1174 return getSema().ActOnWhileStmt(WhileLoc, Cond, CondVar, Body); in RebuildWhileStmt()
1194 VarDecl *CondVar, Sema::FullExprArg Inc, in RebuildForStmt() argument
1197 CondVar, Inc, RParenLoc, Body); in RebuildForStmt()
/minix3/external/bsd/llvm/dist/clang/docs/
H A DLibASTMatchersTutorial.rst505 const VarDecl *CondVar = Result.Nodes.getNodeAs<VarDecl>("condVarName");
508 if (!areSameVariable(IncVar, CondVar) || !areSameVariable(IncVar, InitVar))
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DSema.h3144 FullExprArg CondVal, Decl *CondVar,
3149 Decl *CondVar);
3154 Decl *CondVar, Stmt *Body);