| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenACC.cpp | 1181 bool SemaOpenACC::ForStmtBeginChecker::checkForInit(const Stmt *InitStmt, in checkForInit() argument 1185 if (!InitStmt) { in checkForInit() 1195 auto DiagLoopVar = [this, Diag, InitStmt]() { in checkForInit() 1197 SemaRef.Diag(InitStmt->getBeginLoc(), diag::err_acc_loop_variable) in checkForInit() 1206 if (const auto *ExprTemp = dyn_cast<ExprWithCleanups>(InitStmt)) in checkForInit() 1207 InitStmt = ExprTemp->getSubExpr(); in checkForInit() 1208 if (const auto *E = dyn_cast<Expr>(InitStmt)) in checkForInit() 1209 InitStmt = E->IgnoreParenImpCasts(); in checkForInit() 1212 if (const auto *BO = dyn_cast<BinaryOperator>(InitStmt)) { in checkForInit() 1221 } else if (const auto *DS = dyn_cast<DeclStmt>(InitStmt)) { in checkForInit() [all …]
|
| H A D | SemaStmt.cpp | 962 SourceLocation LParenLoc, Stmt *InitStmt, in ActOnIfStmt() argument 1038 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt() 1044 SourceLocation LParenLoc, Stmt *InitStmt, in BuildIfStmt() argument 1055 return IfStmt::Create(Context, IfLoc, StatementKind, InitStmt, in BuildIfStmt() 1184 Stmt *InitStmt, ConditionResult Cond, in ActOnStartOfSwitchStmt() argument 1207 auto *SS = SwitchStmt::Create(Context, InitStmt, Cond.get().first, CondExpr, in ActOnStartOfSwitchStmt() 2442 Scope *S, SourceLocation ForLoc, SourceLocation CoawaitLoc, Stmt *InitStmt, in ActOnCXXForRangeStmt() argument 2452 if (InitStmt) in ActOnCXXForRangeStmt() 2453 return Diag(InitStmt->getBeginLoc(), diag::err_objc_for_range_init_stmt) in ActOnCXXForRangeStmt() 2454 << InitStmt->getSourceRange(); in ActOnCXXForRangeStmt() [all …]
|
| H A D | SemaOpenMP.cpp | 14465 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local 14468 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective() 14528 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective() 14546 StmtResult InitStmt = new (Context) in ActOnOpenMPTileDirective() local 14549 if (!InitStmt.isUsable()) in ActOnOpenMPTileDirective() 14572 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective() 14728 StmtResult InitStmt = new (Context) in ActOnOpenMPStripeDirective() local 14731 if (!InitStmt.isUsable()) in ActOnOpenMPStripeDirective() 14790 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPStripeDirective() 14808 StmtResult InitStmt = new (Context) in ActOnOpenMPStripeDirective() local [all …]
|
| H A D | SemaDeclCXX.cpp | 8788 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(VD), Loc, Loc); in visitExpandedSubobject() local 8819 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, InitStmt, Cond, in visitExpandedSubobject() 14967 Stmt *InitStmt = new (S.Context) DeclStmt(DeclGroupRef(IterationVar),Loc,Loc); in buildSingleCopyAssignRecursively() local 15007 Loc, Loc, InitStmt, in buildSingleCopyAssignRecursively()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1245 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition() argument 1256 Cond = ParseCXXCondition(InitStmt, Loc, CK, false); in ParseParenExprOrCondition() 1456 StmtResult InitStmt; in ParseIfStatement() local 1463 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement() 1618 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement() 1652 StmtResult InitStmt; in ParseSwitchStatement() local 1656 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement() 1661 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
|
| H A D | ParseExprCXX.cpp | 1873 Parser::ParseCXXCondition(StmtResult *InitStmt, SourceLocation Loc, in ParseCXXCondition() argument 1912 switch (isCXXConditionDeclarationOrInitStatement(InitStmt, FRI)) { in ParseCXXCondition() 1921 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition() 1930 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition() 1945 if (InitStmt && Tok.is(tok::semi)) { in ParseCXXCondition() 1947 *InitStmt = Actions.ActOnExprStmt(Expr.get()); in ParseCXXCondition() 1968 *InitStmt = Actions.ActOnDeclStmt(DG, DeclStart, DeclEnd); in ParseCXXCondition()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 147 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaOpenACC.h | 171 bool checkForInit(const Stmt *InitStmt, const ValueDecl *&InitVar,
|
| H A D | Sema.h | 10929 SourceLocation LParenLoc, Stmt *InitStmt, 10933 SourceLocation LParenLoc, Stmt *InitStmt, 10940 SourceLocation LParenLoc, Stmt *InitStmt, 11000 Stmt *InitStmt, Stmt *LoopVar, SourceLocation ColonLoc, Expr *Collection, 11006 SourceLocation ForLoc, SourceLocation CoawaitLoc, Stmt *InitStmt,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 4965 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt, 7376 bool ParseParenExprOrCondition(StmtResult *InitStmt,
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 2092 if (const Stmt *InitStmt = For->getInit()) in EmitOMPCanonicalLoop() local 2093 EmitStmt(InitStmt); in EmitOMPCanonicalLoop()
|