| /freebsd-13.1/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-13.1/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; 295 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) { in handlePoolScope()
|
| H A D | Transforms.cpp | 247 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr() 248 for (CompoundStmt::body_iterator in TraverseStmtExpr() 257 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 116 return visitCompoundStmt(cast<CompoundStmt>(S)); in visitStmt() 135 const CompoundStmt *CompoundStmt) { in visitCompoundStmt() argument 137 for (auto *InnerStmt : CompoundStmt->body()) in visitCompoundStmt()
|
| H A D | ByteCodeStmtGen.h | 61 bool visitCompoundStmt(const CompoundStmt *S);
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 99 CompoundStmt *getTryBlock() { in getTryBlock() 100 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 102 const CompoundStmt *getTryBlock() const { in getTryBlock() 103 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 266 CompoundStmt *SubStmt) in MSDependentExistsStmt() 292 CompoundStmt *getSubStmt() const { in getSubStmt() 293 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt()
|
| H A D | StmtObjC.h | 297 const CompoundStmt *getSynchBody() const { in getSynchBody() 298 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody() 300 CompoundStmt *getSynchBody() { in getSynchBody() 301 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
|
| H A D | Stmt.h | 126 friend class CompoundStmt; in alignas() local 1398 class CompoundStmt final : public Stmt, 1412 static CompoundStmt *Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, 1416 explicit CompoundStmt(SourceLocation Loc) in CompoundStmt() function 1423 static CompoundStmt *CreateEmpty(const ASTContext &C, unsigned NumStmts); 1499 return const_cast<CompoundStmt *>(this)->getStmtExprResult(); in getStmtExprResult() 3327 CompoundStmt *getBlock() const { in getBlock() 3328 return cast<CompoundStmt>(Children[BLOCK]); in getBlock() 3364 CompoundStmt *getBlock() const { return cast<CompoundStmt>(Block); } in getBlock() 3408 CompoundStmt* getTryBlock() const { in getTryBlock() [all …]
|
| /freebsd-13.1/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 | 137 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(function_body); in SynthesizeFunctionResult() 181 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(method_body); in SynthesizeObjCMethodResult() 199 bool ASTResultSynthesizer::SynthesizeBodyResult(CompoundStmt *Body, in SynthesizeBodyResult()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 203 else if (auto CS = dyn_cast_or_null<CompoundStmt>(S)) { in IgnoreContainers() 364 CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB, in CompoundStmt() function in CompoundStmt 372 void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) { in setStmts() 379 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, in Create() 382 C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt)); in Create() 383 return new (Mem) CompoundStmt(Stmts, LB, RB); in Create() 386 CompoundStmt *CompoundStmt::CreateEmpty(const ASTContext &C, in CreateEmpty() 389 C.Allocate(totalSizeToAlloc<Stmt *>(NumStmts), alignof(CompoundStmt)); in CreateEmpty() 390 CompoundStmt *New = new (Mem) CompoundStmt(EmptyShell()); in CreateEmpty()
|
| H A D | StmtPrinter.cpp | 111 if (auto *CS = dyn_cast<CompoundStmt>(S)) { in PrintControlledStmt() 121 void PrintRawCompoundStmt(CompoundStmt *S); 175 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt() 202 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt() 248 if (auto *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt() 261 if (auto *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt() 304 if (auto *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt() 503 if (auto *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) { in VisitObjCAtTryStmt() 516 if (auto *CS = dyn_cast<CompoundStmt>(catchStmt->getCatchBody())) { in VisitObjCAtTryStmt() 560 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt() [all …]
|
| /freebsd-13.1/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() 257 auto CS = dyn_cast<CompoundStmt>(S); in saveHash()
|
| H A D | BodyFarm.cpp | 61 CompoundStmt *makeCompound(ArrayRef<Stmt*>); 132 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() 133 return CompoundStmt::Create(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound() 536 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once() 651 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
|
| H A D | CFG.cpp | 550 CFGBlock *VisitCompoundStmt(CompoundStmt *C, bool ExternallyDestructed); 1951 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in addLocalScopeForStmt() 3002 if (!isa<CompoundStmt>(Else)) in VisitIfStmt() 3025 if (!isa<CompoundStmt>(Then)) in VisitIfStmt() 3415 if (!isa<CompoundStmt>(F->getBody())) in VisitForStmt() 3755 if (!isa<CompoundStmt>(W->getBody())) in VisitWhileStmt() 3954 if (!isa<CompoundStmt>(D->getBody())) in VisitDoStmt() 4115 if (!isa<CompoundStmt>(Terminator->getBody())) in VisitSwitchStmt() 4487 if (!isa<CompoundStmt>(S->getBody())) in VisitCXXForRangeStmt() 4931 if (!isa<CompoundStmt>(S)) in VisitOMPExecutableDirective() [all …]
|
| H A D | PathDiagnostic.cpp | 597 if (const auto *CS = dyn_cast<CompoundStmt>(S)) in createEnd() 631 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace() 638 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace() 648 if (const auto *CS = dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()
|
| /freebsd-13.1/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,
|
| H A D | PathDiagnostic.h | 295 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS, 300 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 30 if (isa<CompoundStmt>(S)) in isSemicolonRequiredAfter()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 277 const CompoundStmt &CS) { in getStatementsRange() 284 return RelativeSelector<CompoundStmt, getStatementsRange>(std::move(ID)); in statements()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 395 if (!isa<CompoundStmt>(CodeRangeStmt)) { in create() 435 IsPrevCompound = Node.get<CompoundStmt>() != nullptr; in isInFunctionLikeBodyOfCode()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 630 const CompoundStmt *Scope) { in findLastStmtThatUsesDecl() 781 const CompoundStmt *Scope = nullptr; in DiagnoseDeclAvailability() 783 if (const auto *CS = dyn_cast<CompoundStmt>(S)) { in DiagnoseDeclAvailability()
|