Home
last modified time | relevance | path

Searched refs:InitStmt (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Parse/
DParseStmt.cpp1056 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition() argument
1064 Cond = ParseCXXCondition(InitStmt, Loc, CK); in ParseParenExprOrCondition()
1144 StmtResult InitStmt; in ParseIfStatement() local
1146 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1247 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, InitStmt.get(), Cond, in ParseIfStatement()
1285 StmtResult InitStmt; in ParseSwitchStatement() local
1287 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1292 Actions.ActOnStartOfSwitchStmt(SwitchLoc, InitStmt.get(), Cond); in ParseSwitchStatement()
DParseExprCXX.cpp1739 Sema::ConditionResult Parser::ParseCXXCondition(StmtResult *InitStmt, in ParseCXXCondition() argument
1752 switch (isCXXConditionDeclarationOrInitStatement(InitStmt)) { in ParseCXXCondition()
1761 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
1762 *InitStmt = Actions.ActOnExprStmt(Expr.get()); in ParseCXXCondition()
1774 *InitStmt = Actions.ActOnDeclStmt(DG, DeclStart, DeclEnd); in ParseCXXCondition()
/external/clang/lib/Sema/
DSemaStmt.cpp507 Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, Stmt *InitStmt, in ActOnIfStmt() argument
528 return BuildIfStmt(IfLoc, IsConstexpr, InitStmt, Cond, thenStmt, ElseLoc, in ActOnIfStmt()
533 Stmt *InitStmt, ConditionResult Cond, in BuildIfStmt() argument
546 IfStmt(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
667 Stmt *InitStmt, ConditionResult Cond) { in ActOnStartOfSwitchStmt() argument
674 SwitchStmt(Context, InitStmt, Cond.get().first, Cond.get().second); in ActOnStartOfSwitchStmt()
DSemaDeclCXX.cpp10028 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(IterationVar),Loc,Loc); in buildSingleCopyAssignRecursively() local
10066 Loc, Loc, InitStmt, in buildSingleCopyAssignRecursively()
/external/clang/include/clang/Parse/
DParser.h1601 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt,
1694 bool ParseParenExprOrCondition(StmtResult *InitStmt,
/external/clang/include/clang/Sema/
DSema.h3400 Stmt *InitStmt,
3404 Stmt *InitStmt,
3408 Stmt *InitStmt,