Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1182 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition() argument
1192 Cond = ParseCXXCondition(InitStmt, Loc, CK); in ParseParenExprOrCondition()
1372 StmtResult InitStmt; in ParseIfStatement() local
1376 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1492 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, LParen, InitStmt.get(), Cond, in ParseIfStatement()
1530 StmtResult InitStmt; in ParseSwitchStatement() local
1534 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1539 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
H A DParseExprCXX.cpp1941 Sema::ConditionResult Parser::ParseCXXCondition(StmtResult *InitStmt, in ParseCXXCondition() argument
1981 switch (isCXXConditionDeclarationOrInitStatement(InitStmt, FRI)) { in ParseCXXCondition()
1990 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
1999 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
2008 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
2010 *InitStmt = Actions.ActOnExprStmt(Expr.get()); in ParseCXXCondition()
2023 *InitStmt = Actions.ActOnDeclStmt(DG, DeclStart, DeclEnd); in ParseCXXCondition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp862 SourceLocation LParenLoc, Stmt *InitStmt, in ActOnIfStmt() argument
911 return BuildIfStmt(IfLoc, IsConstexpr, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt()
916 SourceLocation LParenLoc, Stmt *InitStmt, in BuildIfStmt() argument
926 return IfStmt::Create(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
1055 Stmt *InitStmt, ConditionResult Cond, in ActOnStartOfSwitchStmt() argument
1078 auto *SS = SwitchStmt::Create(Context, InitStmt, Cond.get().first, CondExpr, in ActOnStartOfSwitchStmt()
2436 SourceLocation CoawaitLoc, Stmt *InitStmt, in ActOnCXXForRangeStmt() argument
2445 if (InitStmt) in ActOnCXXForRangeStmt()
2446 return Diag(InitStmt->getBeginLoc(), diag::err_objc_for_range_init_stmt) in ActOnCXXForRangeStmt()
2447 << InitStmt->getSourceRange(); in ActOnCXXForRangeStmt()
[all …]
H A DSemaOpenMP.cpp12671 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
12674 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
12723 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
12747 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
12750 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
12766 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
H A DSemaDeclCXX.cpp8277 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(VD), Loc, Loc); in visitExpandedSubobject() local
8308 return S.ActOnIfStmt(Loc, /*IsConstexpr=*/false, Loc, InitStmt, Cond, Loc, in visitExpandedSubobject()
13863 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(IterationVar),Loc,Loc); in buildSingleCopyAssignRecursively() local
13902 Loc, Loc, InitStmt, in buildSingleCopyAssignRecursively()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtCXX.h146 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h1973 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt,
2074 bool ParseParenExprOrCondition(StmtResult *InitStmt,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4663 SourceLocation LParenLoc, Stmt *InitStmt,
4667 SourceLocation LParenLoc, Stmt *InitStmt,
4671 SourceLocation LParenLoc, Stmt *InitStmt,
4710 Stmt *InitStmt,
4717 Stmt *InitStmt,
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1969 if (const Stmt *InitStmt = For->getInit()) in EmitOMPCanonicalLoop() local
1970 EmitStmt(InitStmt); in EmitOMPCanonicalLoop()