Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp910 SourceLocation LParenLoc, Stmt *InitStmt, in ActOnIfStmt() argument
977 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt()
983 SourceLocation LParenLoc, Stmt *InitStmt, in BuildIfStmt() argument
994 return IfStmt::Create(Context, IfLoc, StatementKind, InitStmt, in BuildIfStmt()
1123 Stmt *InitStmt, ConditionResult Cond, in ActOnStartOfSwitchStmt() argument
1146 auto *SS = SwitchStmt::Create(Context, InitStmt, Cond.get().first, CondExpr, in ActOnStartOfSwitchStmt()
2335 Scope *S, SourceLocation ForLoc, SourceLocation CoawaitLoc, Stmt *InitStmt, in ActOnCXXForRangeStmt() argument
2345 if (InitStmt) in ActOnCXXForRangeStmt()
2346 return Diag(InitStmt->getBeginLoc(), diag::err_objc_for_range_init_stmt) in ActOnCXXForRangeStmt()
2347 << InitStmt->getSourceRange(); in ActOnCXXForRangeStmt()
[all …]
H A DSemaOpenMP.cpp14280 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
14283 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
14339 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
14366 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
14369 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
14387 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
14973 StmtResult InitStmt = new (Context) in ActOnOpenMPInterchangeDirective() local
14976 if (!InitStmt.isUsable()) in ActOnOpenMPInterchangeDirective()
15006 Context, InitStmt.get(), CondExpr.get(), nullptr, IncrStmt.get(), Inner, in ActOnOpenMPInterchangeDirective()
H A DSemaDeclCXX.cpp8609 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(VD), Loc, Loc); in visitExpandedSubobject() local
8640 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, InitStmt, Cond, in visitExpandedSubobject()
14678 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(IterationVar),Loc,Loc); in buildSingleCopyAssignRecursively() local
14718 Loc, Loc, InitStmt, in buildSingleCopyAssignRecursively()
/src/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1338 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition() argument
1349 Cond = ParseCXXCondition(InitStmt, Loc, CK, false); in ParseParenExprOrCondition()
1553 StmtResult InitStmt; in ParseIfStatement() local
1560 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1715 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement()
1753 StmtResult InitStmt; in ParseSwitchStatement() local
1757 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1762 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
H A DParseExprCXX.cpp2129 Parser::ParseCXXCondition(StmtResult *InitStmt, SourceLocation Loc, in ParseCXXCondition() argument
2168 switch (isCXXConditionDeclarationOrInitStatement(InitStmt, FRI)) { in ParseCXXCondition()
2177 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
2186 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
2195 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
2197 *InitStmt = Actions.ActOnExprStmt(Expr.get()); in ParseCXXCondition()
2218 *InitStmt = Actions.ActOnDeclStmt(DG, DeclStart, DeclEnd); in ParseCXXCondition()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h147 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin,
/src/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2090 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt,
2191 bool ParseParenExprOrCondition(StmtResult *InitStmt,
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10714 SourceLocation LParenLoc, Stmt *InitStmt,
10718 SourceLocation LParenLoc, Stmt *InitStmt,
10725 SourceLocation LParenLoc, Stmt *InitStmt,
10785 Stmt *InitStmt, Stmt *LoopVar, SourceLocation ColonLoc, Expr *Collection,
10791 SourceLocation ForLoc, SourceLocation CoawaitLoc, Stmt *InitStmt,
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2047 if (const Stmt *InitStmt = For->getInit()) in EmitOMPCanonicalLoop() local
2048 EmitStmt(InitStmt); in EmitOMPCanonicalLoop()