Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp281 auto *InitStmt = Initializer->getInit(); in transferCFGInitializer() local
282 assert(InitStmt != nullptr); in transferCFGInitializer()
285 State.Env.getStorageLocation(*InitStmt, SkipPast::Reference); in transferCFGInitializer()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp880 SourceLocation LParenLoc, Stmt *InitStmt, in ActOnIfStmt() argument
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
2484 if (InitStmt) in ActOnCXXForRangeStmt()
2486 << InitStmt->getSourceRange(); in ActOnCXXForRangeStmt()
2539 ForLoc, CoawaitLoc, InitStmt, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt()
2697 Stmt *InitStmt, in RebuildForRangeWithDereference() argument
2714 S, ForLoc, CoawaitLoc, InitStmt, LoopVarDecl, ColonLoc, in RebuildForRangeWithDereference()
2726 S, ForLoc, CoawaitLoc, InitStmt, LoopVarDecl, ColonLoc, in RebuildForRangeWithDereference()
[all …]
H A DSemaDeclCXX.cpp8401 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(VD), Loc, Loc); in visitExpandedSubobject() local
8432 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, InitStmt, Cond, in visitExpandedSubobject()
14257 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(IterationVar),Loc,Loc); in buildSingleCopyAssignRecursively() local
14297 Loc, Loc, InitStmt, in buildSingleCopyAssignRecursively()
H A DSemaOpenMP.cpp14635 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
14638 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
14687 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
14711 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local
14714 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective()
14730 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp1247 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition() argument
1258 Cond = ParseCXXCondition(InitStmt, Loc, CK, MissingOK); in ParseParenExprOrCondition()
1464 StmtResult InitStmt; in ParseIfStatement() local
1471 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1626 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement()
1664 StmtResult InitStmt; in ParseSwitchStatement() local
1668 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1674 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
H A DParseExprCXX.cpp1970 Parser::ParseCXXCondition(StmtResult *InitStmt, SourceLocation Loc, in ParseCXXCondition() argument
2008 switch (isCXXConditionDeclarationOrInitStatement(InitStmt, FRI)) { in ParseCXXCondition()
2017 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
2026 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
2035 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition()
2037 *InitStmt = Actions.ActOnExprStmt(Expr.get()); in ParseCXXCondition()
2058 *InitStmt = Actions.ActOnDeclStmt(DG, DeclStart, DeclEnd); in ParseCXXCondition()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtCXX.h146 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin,
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h1993 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt,
2096 bool ParseParenExprOrCondition(StmtResult *InitStmt,
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h4956 SourceLocation LParenLoc, Stmt *InitStmt,
4960 SourceLocation LParenLoc, Stmt *InitStmt,
4964 SourceLocation LParenLoc, Stmt *InitStmt,
5003 Stmt *InitStmt,
5010 Stmt *InitStmt,
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2011 if (const Stmt *InitStmt = For->getInit()) in EmitOMPCanonicalLoop() local
2012 EmitStmt(InitStmt); in EmitOMPCanonicalLoop()