| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtObjC.cpp | 36 Stmt **Stmts = getStmts(); in ObjCAtTryStmt() local 37 Stmts[0] = atTryStmt; in ObjCAtTryStmt() 39 Stmts[I + 1] = CatchStmts[I]; in ObjCAtTryStmt() 42 Stmts[NumCatchStmts + 1] = atFinallyStmt; in ObjCAtTryStmt()
|
| H A D | StmtCXX.cpp | 43 Stmt **Stmts = getStmts(); in CXXTryStmt() local 44 Stmts[0] = tryBlock; in CXXTryStmt() 45 std::copy(handlers.begin(), handlers.end(), Stmts + 1); in CXXTryStmt()
|
| H A D | Stmt.cpp | 365 CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, FPOptionsOverride FPFeatures, in CompoundStmt() argument 368 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt() 370 setStmts(Stmts); in CompoundStmt() 375 void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) { in setStmts() argument 376 assert(CompoundStmtBits.NumStmts == Stmts.size() && in setStmts() 379 std::copy(Stmts.begin(), Stmts.end(), body_begin()); in setStmts() 382 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, in Create() argument 387 Stmts.size(), FPFeatures.requiresTrailingStorage()), in Create() 389 return new (Mem) CompoundStmt(Stmts, FPFeatures, LB, RB); in Create()
|
| /freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangASTNodesEmitter.cpp | 172 const std::vector<Record*> Stmts in deriveChildTree() local 175 for (auto *R : Stmts) { in deriveChildTree() 255 const std::vector<Record *> Stmts = in EmitClangDeclContext() local 258 for (auto *R : Stmts) { in EmitClangDeclContext()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 43 StmtVector Stmts; in ParseStatement() local 170 StmtVector &Stmts, ParsedStmtContext StmtCtx, in ParseStatementOrDeclarationAfterAttributes() argument 356 ParseMicrosoftIfExistsStatement(Stmts); in ParseStatementOrDeclarationAfterAttributes() 764 StmtVector Stmts; in ParseLabeledStatement() local 1132 Stmts.push_back(R.get()); in ConsumeNullStmt() 1188 StmtVector Stmts; in ParseCompoundStatementBody() local 1217 Stmts.push_back(R.get()); in ParseCompoundStatementBody() 1231 if (ConsumeNullStmt(Stmts)) in ParseCompoundStatementBody() 1279 Stmts.push_back(R.get()); in ParseCompoundStatementBody() 2774 Stmts.push_back(DepResult.get()); in ParseMicrosoftIfExistsStatement() [all …]
|
| H A D | ParseDecl.cpp | 5583 Parser::StmtVector Stmts; in ParseTopLevelStmtDecl() local 5586 StmtResult R = ParseStatementOrDeclaration(Stmts, SubStmtCtx); in ParseTopLevelStmtDecl() 5601 for (Stmt *S : Stmts) in ParseTopLevelStmtDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 137 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() argument 138 return CompoundStmt::Create(C, Stmts, FPOptionsOverride(), SourceLocation(), in makeCompound() 566 Stmt *Stmts[] = { B, CE }; in create_dispatch_once() local 567 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once() 668 Stmt *Stmts[2]; in create_OSAtomicCompareAndSwap() local 669 Stmts[0] = in create_OSAtomicCompareAndSwap() 680 Stmts[1] = M.makeReturn(RetVal); in create_OSAtomicCompareAndSwap() 681 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
|
| H A D | CFG.cpp | 5674 SmallVector<const Stmt *, 3> Stmts; in print_construction_context() local 5687 Stmts.push_back(CICC->getCXXBindTemporaryExpr()); in print_construction_context() 5692 Stmts.push_back(SDSCC->getDeclStmt()); in print_construction_context() 5697 Stmts.push_back(CDSCC->getDeclStmt()); in print_construction_context() 5703 Stmts.push_back(NECC->getCXXNewExpr()); in print_construction_context() 5708 Stmts.push_back(RSCC->getReturnStmt()); in print_construction_context() 5714 Stmts.push_back(RSCC->getReturnStmt()); in print_construction_context() 5715 Stmts.push_back(RSCC->getCXXBindTemporaryExpr()); in print_construction_context() 5720 Stmts.push_back(TOCC->getCXXBindTemporaryExpr()); in print_construction_context() 5726 Stmts.push_back(TOCC->getCXXBindTemporaryExpr()); in print_construction_context() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 93 llvm::TinyPtrVector<const Stmt*> Stmts; variable 96 ArrayRef<const Stmt *> Stmts) in PossiblyUnreachableDiag() argument 97 : PD(PD), Loc(Loc), Stmts(Stmts) {} in PossiblyUnreachableDiag()
|
| H A D | Sema.h | 5645 bool DiagIfReachable(SourceLocation Loc, ArrayRef<const Stmt *> Stmts, 5659 bool DiagRuntimeBehavior(SourceLocation Loc, ArrayRef<const Stmt*> Stmts,
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtDataCollectors.td | 113 //--- C++ OOP Stmts ------------------------------------------------------// 184 //--- Miscellaneous Stmts ------------------------------------------------//
|
| H A D | Stmt.h | 1614 CompoundStmt(ArrayRef<Stmt *> Stmts, FPOptionsOverride FPFeatures, 1618 void setStmts(ArrayRef<Stmt *> Stmts); 1631 static CompoundStmt *Create(const ASTContext &C, ArrayRef<Stmt *> Stmts,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 115 SmallVector<Stmt *, 32> Stmts; member in __anone4fa00500111::RewriteObjC 1418 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1435 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1483 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 1639 Stmts.pop_back(); in RewriteObjCForCollectionStmt() 4545 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 4557 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 4559 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 4724 assert ((isa<SwitchStmt>(Stmts.back()) || isa<WhileStmt>(Stmts.back()) || in RewriteFunctionBodyOrGlobalInitializer() 4725 isa<DoStmt>(Stmts.back()) || isa<ForStmt>(Stmts.back())) in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
| H A D | RewriteModernObjC.cpp | 125 SmallVector<Stmt *, 32> Stmts; member in __anonceb1b5150111::RewriteModernObjC 1610 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1640 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1688 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 1847 Stmts.pop_back(); in RewriteObjCForCollectionStmt() 5419 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 5431 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 5433 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 5620 assert ((isa<SwitchStmt>(Stmts.back()) || isa<WhileStmt>(Stmts.back()) || in RewriteFunctionBodyOrGlobalInitializer() 5621 isa<DoStmt>(Stmts.back()) || isa<ForStmt>(Stmts.back())) in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 2113 StmtVector &Stmts, ParsedStmtContext StmtCtx, 2116 StmtVector &Stmts, ParsedStmtContext StmtCtx, 2131 bool ConsumeNullStmt(StmtVector &Stmts); 2149 StmtResult ParsePragmaLoopHint(StmtVector &Stmts, ParsedStmtContext StmtCtx, 2186 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 8389 llvm::SmallVector<Stmt*, 16> Stmts; member 8395 Stmts.push_back(S.get()); in add() 8424 StmtListResult Stmts = visit(); in build() local 8425 if (Stmts.IsInvalid) in build() 8442 auto OldStmts = std::move(Stmts.Stmts); in build() 8443 Stmts.Stmts.clear(); in build() 8449 if (RetVal.isUnset() && Stmts.Stmts.empty()) in build() 8477 std::reverse(Stmts.Stmts.begin(), Stmts.Stmts.end()); in build() 8504 RetVal = cast<Expr>(Stmts.Stmts.pop_back_val()); in build() 8514 Stmts.Stmts.push_back(ReturnStmt.get()); in build() [all …]
|
| H A D | AnalysisBasedWarnings.cpp | 2595 for (const Stmt *S : D.Stmts) in IssueWarnings() 2603 for (const Stmt *S : D.Stmts) { in IssueWarnings()
|
| H A D | SemaExpr.cpp | 20918 bool Sema::DiagIfReachable(SourceLocation Loc, ArrayRef<const Stmt *> Stmts, in DiagIfReachable() argument 20920 if (!Stmts.empty() && getCurFunctionOrMethodDecl()) { in DiagIfReachable() 20923 sema::PossiblyUnreachableDiag(PD, Loc, Stmts)); in DiagIfReachable() 20961 bool Sema::DiagRuntimeBehavior(SourceLocation Loc, ArrayRef<const Stmt*> Stmts, in DiagRuntimeBehavior() argument 20982 return DiagIfReachable(Loc, Stmts, PD); in DiagRuntimeBehavior()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 155 SmallVector<Stmt *, 16> Stmts; in VisitCompoundStmt() local 160 Stmts.push_back(Record.readSubStmt()); in VisitCompoundStmt() 161 S->setStmts(Stmts); in VisitCompoundStmt() 1391 Stmt **Stmts = E->getTrailingObjects<Stmt *>(); in VisitGenericSelectionExpr() local 1396 Stmts[I] = Record.readSubExpr(); in VisitGenericSelectionExpr()
|
| H A D | ASTWriterStmt.cpp | 1333 Stmt **Stmts = E->getTrailingObjects<Stmt *>(); in VisitGenericSelectionExpr() local 1338 Record.AddStmt(Stmts[I]); in VisitGenericSelectionExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attr.td | 77 // Decls and Stmts are possibly AttrSubjects (even though the syntax may not
|