| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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 | 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 | 130 friend class CompoundStmt; variable 1418 class CompoundStmt final 1420 private llvm::TrailingObjects<CompoundStmt, Stmt *, FPOptionsOverride> { 1430 CompoundStmt(ArrayRef<Stmt *> Stmts, FPOptionsOverride FPFeatures, 1432 explicit CompoundStmt(EmptyShell Empty) : Stmt(CompoundStmtClass, Empty) {} in CompoundStmt() function 1447 static CompoundStmt *Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, 1452 explicit CompoundStmt(SourceLocation Loc) in CompoundStmt() function 1459 static CompoundStmt *CreateEmpty(const ASTContext &C, unsigned NumStmts, 1544 return const_cast<CompoundStmt *>(this)->getStmtExprResult(); in getStmtExprResult() 3400 CompoundStmt *getBlock() const { in getBlock() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 82 const CompoundStmt *guardiansClosestCompStmtAncestor = nullptr; in isGuardedScopeEmbeddedInGuardianScope() 93 if (auto *CStmtParentAncestor = guardianAncestor.get<CompoundStmt>()) { in isGuardedScopeEmbeddedInGuardianScope() 115 if (auto *CStmtAncestor = guardedVarAncestor.get<CompoundStmt>()) { in isGuardedScopeEmbeddedInGuardianScope()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 168 return visitCompoundStmt(cast<CompoundStmt>(S)); in visitStmt() 197 const CompoundStmt *CompoundStmt) { in visitCompoundStmt() argument 199 for (auto *InnerStmt : CompoundStmt->body()) in visitCompoundStmt()
|
| H A D | ByteCodeStmtGen.h | 56 bool visitCompoundStmt(const CompoundStmt *S);
|
| /openbsd-src/gnu/llvm/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 | 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() 186 void StmtPrinter::PrintFPPragmas(CompoundStmt *S) { in PrintFPPragmas() 265 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt() 327 if (auto *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt() 340 if (auto *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt() 383 if (auto *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt() 582 if (auto *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) { in VisitObjCAtTryStmt() [all …]
|
| /openbsd-src/gnu/llvm/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 | 595 if (const auto *CS = dyn_cast<CompoundStmt>(S)) in createEnd() 629 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace() 636 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace() 646 if (const auto *CS = dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
| H A D | CloneDetection.h | 27 class CompoundStmt; variable 61 StmtSequence(const CompoundStmt *Stmt, const Decl *D, unsigned StartIndex,
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 31 if (isa<CompoundStmt>(S)) in isSemicolonRequiredAfter()
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | ClangCheck.rst | 27 (CompoundStmt 0x7ff3a302aa10 <line:1:10, line:3:1>
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 396 if (!isa<CompoundStmt>(CodeRangeStmt)) { in create() 436 IsPrevCompound = Node.get<CompoundStmt>() != nullptr; in isInFunctionLikeBodyOfCode()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 634 const CompoundStmt *Scope) { in findLastStmtThatUsesDecl() 784 const CompoundStmt *Scope = nullptr; in DiagnoseDeclAvailability() 786 if (const auto *CS = dyn_cast<CompoundStmt>(S)) { in DiagnoseDeclAvailability()
|
| H A D | HLSLExternalSemaSource.cpp | 201 CompoundStmt::Create(AST, {Assign}, FPOptionsOverride(), in addDefaultHandleConstructor() 283 MethodDecl->setBody(CompoundStmt::Create(AST, {Return}, FPOptionsOverride(), in addArraySubscriptOperator()
|