| /freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| HD | 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() 431 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1); in isIdenticalStmt() 432 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt() 437 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt() 438 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
| HD | 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()
|
| HD | TransAutoreleasePool.cpp | 163 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 226 CompoundStmt *CompoundParent; 295 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) { in handlePoolScope()
|
| HD | Transforms.cpp | 246 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr() 247 for (CompoundStmt::body_iterator in TraverseStmtExpr() 256 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| HD | 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()
|
| HD | ByteCodeStmtGen.h | 61 bool visitCompoundStmt(const CompoundStmt *S);
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
| HD | 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()
|
| HD | 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()
|
| HD | Stmt.h | 130 friend class CompoundStmt; in alignas() local 1347 class CompoundStmt final : public Stmt, 1348 private llvm::TrailingObjects<CompoundStmt, Stmt *> { 1355 CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB, SourceLocation RB); 1356 explicit CompoundStmt(EmptyShell Empty) : Stmt(CompoundStmtClass, Empty) {} in CompoundStmt() function 1361 static CompoundStmt *Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, 1365 explicit CompoundStmt(SourceLocation Loc) in CompoundStmt() function 1372 static CompoundStmt *CreateEmpty(const ASTContext &C, unsigned NumStmts); 1448 return const_cast<CompoundStmt *>(this)->getStmtExprResult(); in getStmtExprResult() 3247 CompoundStmt *getBlock() const { in getBlock() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| HD | 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()
|
| HD | 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()
|
| HD | ASTResultSynthesizer.h | 128 bool SynthesizeBodyResult(clang::CompoundStmt *Body, clang::DeclContext *DC);
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | Stmt.cpp | 142 else if (auto CS = dyn_cast_or_null<CompoundStmt>(S)) { in IgnoreContainers() 304 CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB, in CompoundStmt() function in CompoundStmt 312 void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) { in setStmts() 319 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, in Create() 322 C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt)); in Create() 323 return new (Mem) CompoundStmt(Stmts, LB, RB); in Create() 326 CompoundStmt *CompoundStmt::CreateEmpty(const ASTContext &C, in CreateEmpty() 329 C.Allocate(totalSizeToAlloc<Stmt *>(NumStmts), alignof(CompoundStmt)); in CreateEmpty() 330 CompoundStmt *New = new (Mem) CompoundStmt(EmptyShell()); in CreateEmpty()
|
| HD | StmtPrinter.cpp | 114 if (auto *CS = dyn_cast<CompoundStmt>(S)) { in PrintControlledStmt() 124 void PrintRawCompoundStmt(CompoundStmt *S); 178 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt() 205 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt() 251 if (auto *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt() 264 if (auto *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt() 307 if (auto *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt() 506 if (auto *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) { in VisitObjCAtTryStmt() 519 if (auto *CS = dyn_cast<CompoundStmt>(catchStmt->getCatchBody())) { in VisitObjCAtTryStmt() 527 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(FS->getFinallyBody())); in VisitObjCAtTryStmt() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
| HD | CloneDetection.cpp | 22 StmtSequence::StmtSequence(const CompoundStmt *Stmt, const Decl *D, in StmtSequence() 62 auto CS = cast<CompoundStmt>(S); in begin() 70 auto CS = cast<CompoundStmt>(S); in end() 256 auto CS = dyn_cast<CompoundStmt>(S); in saveHash()
|
| HD | BodyFarm.cpp | 61 CompoundStmt *makeCompound(ArrayRef<Stmt*>); 134 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() 135 return CompoundStmt::Create(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound() 536 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once() 649 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
|
| HD | PathDiagnostic.cpp | 581 if (const auto *CS = dyn_cast<CompoundStmt>(S)) in createEnd() 615 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace() 622 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace() 632 if (const auto *CS = dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()
|
| HD | CFG.cpp | 552 CFGBlock *VisitCompoundStmt(CompoundStmt *C, bool ExternallyDestructed); 1946 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in addLocalScopeForStmt() 2175 return VisitCompoundStmt(cast<CompoundStmt>(S), ExternallyDestructed); in Visit() 2709 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C, bool ExternallyDestructed) { in VisitCompoundStmt() 2721 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend(); in VisitCompoundStmt() 2976 if (!isa<CompoundStmt>(Else)) in VisitIfStmt() 2999 if (!isa<CompoundStmt>(Then)) in VisitIfStmt() 3389 if (!isa<CompoundStmt>(F->getBody())) in VisitForStmt() 3729 if (!isa<CompoundStmt>(W->getBody())) in VisitWhileStmt() 3928 if (!isa<CompoundStmt>(D->getBody())) in VisitDoStmt() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
| HD | CloneDetection.h | 27 class CompoundStmt; variable 61 StmtSequence(const CompoundStmt *Stmt, const Decl *D, unsigned StartIndex,
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
| HD | SourceExtraction.cpp | 30 if (isa<CompoundStmt>(S)) in isSemicolonRequiredAfter()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| HD | RangeSelector.cpp | 255 const CompoundStmt &CS) { in getStatementsRange() 262 return RelativeSelector<CompoundStmt, getStatementsRange>(std::move(ID)); in statements()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/ |
| HD | ClangForward.h | 31 class CompoundStmt; variable
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| HD | ASTSelection.cpp | 396 if (!isa<CompoundStmt>(CodeRangeStmt)) { in create() 436 IsPrevCompound = Node.get<CompoundStmt>() != nullptr; in isInFunctionLikeBodyOfCode()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGStmt.cpp | 368 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break; in EmitSimpleStmt() 387 Address CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, in EmitCompoundStmt() 399 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S, in EmitCompoundStmtWithoutScope() 1413 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in CollectStatementsForCase() 1416 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end(); in CollectStatementsForCase()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| HD | BuildTree.cpp | 129 if (isa<CompoundStmt>(S)) in getStmtRange() 364 bool WalkUpFromCompoundStmt(CompoundStmt *S) { in WalkUpFromCompoundStmt()
|