Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp319 auto *InitStmt = Init->getInit(); in builtinTransferInitializer() local
320 assert(InitStmt != nullptr); in builtinTransferInitializer()
322 auto *InitStmtLoc = Env.getStorageLocation(*InitStmt, SkipPast::Reference); in builtinTransferInitializer()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp880 SourceLocation LParenLoc, Stmt *InitStmt, in ActOnIfStmt() argument
946 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt()
952 SourceLocation LParenLoc, Stmt *InitStmt, in BuildIfStmt() argument
963 return IfStmt::Create(Context, IfLoc, StatementKind, InitStmt, in BuildIfStmt()
1092 Stmt *InitStmt, ConditionResult Cond, in ActOnStartOfSwitchStmt() argument
1115 auto *SS = SwitchStmt::Create(Context, InitStmt, Cond.get().first, CondExpr, in ActOnStartOfSwitchStmt()
2483 SourceLocation CoawaitLoc, Stmt *InitStmt, in ActOnCXXForRangeStmt() argument
2493 if (InitStmt) in ActOnCXXForRangeStmt()
2494 return Diag(InitStmt->getBeginLoc(), diag::err_objc_for_range_init_stmt) in ActOnCXXForRangeStmt()
2495 << InitStmt->getSourceRange(); in ActOnCXXForRangeStmt()
[all …]
H A DSemaOpenMP.cpp14775 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
14778 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
14827 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
14851 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
14854 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
14870 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
H A DSemaDeclCXX.cpp8471 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(VD), Loc, Loc); in visitExpandedSubobject() local
8502 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, InitStmt, Cond, in visitExpandedSubobject()
14367 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(IterationVar),Loc,Loc); in buildSingleCopyAssignRecursively() local
14407 Loc, Loc, InitStmt, in buildSingleCopyAssignRecursively()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp1276 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition() argument
1287 Cond = ParseCXXCondition(InitStmt, Loc, CK, false); in ParseParenExprOrCondition()
1488 StmtResult InitStmt; in ParseIfStatement() local
1495 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1650 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement()
1688 StmtResult InitStmt; in ParseSwitchStatement() local
1692 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1697 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
H A DParseExprCXX.cpp2021 Parser::ParseCXXCondition(StmtResult *InitStmt, SourceLocation Loc, in ParseCXXCondition() argument
2059 switch (isCXXConditionDeclarationOrInitStatement(InitStmt, FRI)) { in ParseCXXCondition()
2068 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
2077 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
2086 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
2088 *InitStmt = Actions.ActOnExprStmt(Expr.get()); in ParseCXXCondition()
2109 *InitStmt = Actions.ActOnDeclStmt(DG, DeclStart, DeclEnd); in ParseCXXCondition()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmtCXX.h146 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin,
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h2009 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt,
2108 bool ParseParenExprOrCondition(StmtResult *InitStmt,
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h5079 SourceLocation LParenLoc, Stmt *InitStmt,
5083 SourceLocation LParenLoc, Stmt *InitStmt,
5087 SourceLocation LParenLoc, Stmt *InitStmt,
5126 Stmt *InitStmt,
5133 Stmt *InitStmt,
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2019 if (const Stmt *InitStmt = For->getInit()) in EmitOMPCanonicalLoop() local
2020 EmitStmt(InitStmt); in EmitOMPCanonicalLoop()