| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 115 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt() 161 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt() 165 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) { in VisitIfStmt() 433 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1); in isIdenticalStmt() 434 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt() 439 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt() 440 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 78 CXXTryStmt(SourceLocation tryLoc, CompoundStmt *tryBlock, 88 CompoundStmt *tryBlock, ArrayRef<Stmt *> handlers); 100 CompoundStmt *getTryBlock() { in getTryBlock() 101 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 103 const CompoundStmt *getTryBlock() const { in getTryBlock() 104 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 267 CompoundStmt *SubStmt) in MSDependentExistsStmt() 293 CompoundStmt *getSubStmt() const { in getSubStmt() 294 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt() 380 CompoundStmt *getBody() const { in getBody() [all …]
|
| H A D | StmtObjC.h | 322 const CompoundStmt *getSynchBody() const { in getSynchBody() 323 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody() 325 CompoundStmt *getSynchBody() { in getSynchBody() 326 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
|
| H A D | Stmt.h | 145 friend class CompoundStmt; in alignas() local 1602 class CompoundStmt final 1614 CompoundStmt(ArrayRef<Stmt *> Stmts, FPOptionsOverride FPFeatures, 1636 explicit CompoundStmt(SourceLocation Loc) : CompoundStmt(Loc, Loc) {} in CompoundStmt() function 1638 CompoundStmt(SourceLocation Loc, SourceLocation EndLoc) in CompoundStmt() function 1730 return const_cast<CompoundStmt *>(this)->getStmtExprResult(); in getStmtExprResult() 3611 CompoundStmt *getBlock() const { in getBlock() 3612 return cast<CompoundStmt>(Children[BLOCK]); in getBlock() 3648 CompoundStmt *getBlock() const { return cast<CompoundStmt>(Block); } in getBlock() 3692 CompoundStmt* getTryBlock() const { in getTryBlock() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 87 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 154 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr() 155 for (CompoundStmt::body_iterator in TraverseStmtExpr() 164 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 184 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx, in isBodyEmpty()
|
| H A D | TransAutoreleasePool.cpp | 163 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 226 CompoundStmt *CompoundParent; 296 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) { in handlePoolScope()
|
| H A D | Transforms.cpp | 245 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr() 246 for (CompoundStmt::body_iterator in TraverseStmtExpr() 255 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTStructExtractor.cpp | 55 CompoundStmt *body_compound_stmt = dyn_cast<CompoundStmt>(body_stmt); in ExtractFromFunctionDecl() 64 for (CompoundStmt::const_body_iterator bi = body_compound_stmt->body_begin(), in ExtractFromFunctionDecl()
|
| H A D | ASTResultSynthesizer.h | 16 class CompoundStmt; variable 135 bool SynthesizeBodyResult(clang::CompoundStmt *Body, clang::DeclContext *DC);
|
| H A D | ASTResultSynthesizer.cpp | 138 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(function_body); in SynthesizeFunctionResult() 182 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(method_body); in SynthesizeObjCMethodResult() 221 bool ASTResultSynthesizer::SynthesizeBodyResult(CompoundStmt *Body, in SynthesizeBodyResult()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 81 const CompoundStmt *guardiansClosestCompStmtAncestor = nullptr; in isGuardedScopeEmbeddedInGuardianScope() 92 if (auto *CStmtParentAncestor = guardianAncestor.get<CompoundStmt>()) { in isGuardedScopeEmbeddedInGuardianScope() 114 if (auto *CStmtAncestor = guardedVarAncestor.get<CompoundStmt>()) { in isGuardedScopeEmbeddedInGuardianScope()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 94 assert(cast<CompoundStmt>(MD->getBody())->body_empty()); in emitLambdaStaticInvokerBody() 248 return visitCompoundStmt(cast<CompoundStmt>(S)); in visitStmt() 297 if (const auto *CS = dyn_cast<CompoundStmt>(S)) { in visitLoopBody() 309 const CompoundStmt *CompoundStmt) { in visitCompoundStmt() argument 311 for (auto *InnerStmt : CompoundStmt->body()) in visitCompoundStmt()
|
| H A D | ByteCodeStmtGen.h | 52 bool visitCompoundStmt(const CompoundStmt *S);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 204 else if (auto CS = dyn_cast_or_null<CompoundStmt>(S)) { in IgnoreContainers() 365 CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, FPOptionsOverride FPFeatures, in CompoundStmt() function in CompoundStmt 375 void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) { in setStmts() 382 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, in Create() 388 alignof(CompoundStmt)); in Create() 389 return new (Mem) CompoundStmt(Stmts, FPFeatures, LB, RB); in Create() 392 CompoundStmt *CompoundStmt::CreateEmpty(const ASTContext &C, unsigned NumStmts, in CreateEmpty() 396 alignof(CompoundStmt)); in CreateEmpty() 397 CompoundStmt *New = new (Mem) CompoundStmt(EmptyShell()); in CreateEmpty()
|
| H A D | StmtCXX.cpp | 26 CompoundStmt *tryBlock, in Create() 40 CXXTryStmt::CXXTryStmt(SourceLocation tryLoc, CompoundStmt *tryBlock, in CXXTryStmt()
|
| H A D | StmtPrinter.cpp | 112 if (auto *CS = dyn_cast<CompoundStmt>(S)) { in PrintControlledStmt() 122 void PrintRawCompoundStmt(CompoundStmt *S); 132 void PrintFPPragmas(CompoundStmt *S); 177 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt() 187 void StmtPrinter::PrintFPPragmas(CompoundStmt *S) { in PrintFPPragmas() 266 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt() 328 if (auto *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt() 341 if (auto *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt() 384 if (auto *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt() 585 if (auto *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) { in VisitObjCAtTryStmt() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CloneDetection.cpp | 23 StmtSequence::StmtSequence(const CompoundStmt *Stmt, const Decl *D, in StmtSequence() 63 auto CS = cast<CompoundStmt>(S); in begin() 71 auto CS = cast<CompoundStmt>(S); in end() 256 auto CS = dyn_cast<CompoundStmt>(S); in saveHash()
|
| H A D | BodyFarm.cpp | 63 CompoundStmt *makeCompound(ArrayRef<Stmt*>); 137 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() 138 return CompoundStmt::Create(C, Stmts, FPOptionsOverride(), SourceLocation(), in makeCompound() 567 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once() 681 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
|
| H A D | PathDiagnostic.cpp | 594 if (const auto *CS = dyn_cast<CompoundStmt>(S)) in createEnd() 628 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace() 635 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace() 645 if (const auto *CS = dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CloneDetection.h | 27 class CompoundStmt; variable 61 StmtSequence(const CompoundStmt *Stmt, const Decl *D, unsigned StartIndex,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 31 if (isa<CompoundStmt>(S)) in isSemicolonRequiredAfter()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 279 const CompoundStmt &CS) { in getStatementsRange() 286 return RelativeSelector<CompoundStmt, getStatementsRange>(std::move(ID)); in statements()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 396 if (!isa<CompoundStmt>(CodeRangeStmt)) { in create() 436 IsPrevCompound = Node.get<CompoundStmt>() != nullptr; in isInFunctionLikeBodyOfCode()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 669 const CompoundStmt *Scope) { in findLastStmtThatUsesDecl() 819 const CompoundStmt *Scope = nullptr; in DiagnoseDeclAvailability() 821 if (const auto *CS = dyn_cast<CompoundStmt>(S)) { in DiagnoseDeclAvailability()
|
| H A D | HLSLExternalSemaSource.cpp | 198 CompoundStmt::Create(AST, {Assign}, FPOptionsOverride(), in addDefaultHandleConstructor() 279 MethodDecl->setBody(CompoundStmt::Create(AST, {Return}, FPOptionsOverride(), in addArraySubscriptOperator()
|