| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | SourceExtraction.cpp | 37 return isSemicolonRequiredAfter(While->getBody()); in isSemicolonRequiredAfter() 39 return isSemicolonRequiredAfter(For->getBody()); in isSemicolonRequiredAfter() 41 return isSemicolonRequiredAfter(CXXFor->getBody()); in isSemicolonRequiredAfter() 43 return isSemicolonRequiredAfter(ObjCFor->getBody()); in isSemicolonRequiredAfter() 45 return isSemicolonRequiredAfter(Switch->getBody()); in isSemicolonRequiredAfter()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 93 Stmt *AnalysisDeclContext::getBody(bool &IsAutosynthesized) const { in getBody() function in AnalysisDeclContext 96 Stmt *Body = FD->getBody(); in getBody() 98 Body = CoroBody->getBody(); in getBody() 100 Stmt *SynthesizedBody = ADCMgr->getBodyFarm().getBody(FD); in getBody() 109 Stmt *Body = MD->getBody(); in getBody() 111 Stmt *SynthesizedBody = ADCMgr->getBodyFarm().getBody(MD); in getBody() 119 return BD->getBody(); in getBody() 121 return FunTmpl->getTemplatedDecl()->getBody(); in getBody() 126 Stmt *AnalysisDeclContext::getBody() const { in getBody() function in AnalysisDeclContext 128 return getBody(Tmp); in getBody() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 195 CounterMap[D->getBody()] = NextCounter++; in VisitDecl() 411 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitFunctionDecl() 412 CountMap[D->getBody()] = BodyCount; in VisitFunctionDecl() 413 Visit(D->getBody()); in VisitFunctionDecl() 423 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitCapturedDecl() 424 CountMap[D->getBody()] = BodyCount; in VisitCapturedDecl() 425 Visit(D->getBody()); in VisitCapturedDecl() 430 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody())); in VisitObjCMethodDecl() 431 CountMap[D->getBody()] = BodyCount; in VisitObjCMethodDecl() 432 Visit(D->getBody()); in VisitObjCMethodDecl() [all …]
|
| H A D | CoverageMappingGen.cpp | 499 auto Body = D->getBody(); in VisitDecl() 1001 Stmt *Body = D->getBody(); in VisitDecl() 1029 Visit(S->getBody()); in VisitCoroutineBodyStmt() 1091 extendRegion(S->getBody()); in VisitWhileStmt() 1092 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitWhileStmt() 1105 auto Gap = findGapAreaBetween(S->getRParenLoc(), getStart(S->getBody())); in VisitWhileStmt() 1130 extendRegion(S->getBody()); in VisitDoStmt() 1132 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody()); in VisitDoStmt() 1170 extendRegion(S->getBody()); in VisitForStmt() 1171 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody()); in VisitForStmt() [all …]
|
| H A D | CGStmt.cpp | 915 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt() 918 BoolCondVal, Stmt::getLikelihood(S.getBody())); in EmitWhileStmt() 925 } else if (const Attr *A = Stmt::getLikelihoodAttr(S.getBody())) { in EmitWhileStmt() 941 EmitStmt(S.getBody()); in EmitWhileStmt() 980 EmitStmt(S.getBody()); in EmitDoStmt() 1009 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() 1095 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt() 1098 BoolCondVal, Stmt::getLikelihood(S.getBody())); in EmitForStmt() 1118 EmitStmt(S.getBody()); in EmitForStmt() 1180 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | TransEmptyStatementsAndDealloc.cpp | 115 if (!S->getBody()) in VisitWhileStmt() 117 return Visit(S->getBody()); in VisitWhileStmt() 125 if (!S->getBody()) in VisitDoStmt() 127 return Visit(S->getBody()); in VisitDoStmt() 135 if (!S->getBody()) in VisitObjCForCollectionStmt() 137 return Visit(S->getBody()); in VisitObjCForCollectionStmt()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
| H A D | CodeInjector.h | 40 virtual Stmt *getBody(const FunctionDecl *D) = 0; 41 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
|
| H A D | BodyFarm.h | 35 Stmt *getBody(const FunctionDecl *D); 38 Stmt *getBody(const ObjCMethodDecl *D);
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.h | 38 Stmt *getBody(const FunctionDecl *D) override; 39 Stmt *getBody(const ObjCMethodDecl *D) override;
|
| H A D | ModelInjector.cpp | 31 Stmt *ModelInjector::getBody(const FunctionDecl *D) { in getBody() function in ModelInjector 36 Stmt *ModelInjector::getBody(const ObjCMethodDecl *D) { in getBody() function in ModelInjector
|
| H A D | ModelConsumer.cpp | 37 Bodies.insert(std::make_pair(func->getName(), func->getBody())); in HandleTopLevelDecl()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 169 Stmt *getBody() { return SubExprs[BODY]; } in getBody() function 189 const Stmt *getBody() const { return SubExprs[BODY]; } in getBody() function 376 Stmt *getBody() const { in getBody() function 424 return getBody() ? getBody()->getBeginLoc() in getBeginLoc() 428 return getBody() ? getBody()->getEndLoc() : getPromiseDecl()->getEndLoc(); in getEndLoc()
|
| H A D | ASTNodeTraverser.h | 440 Visit(D->getBody()); in VisitFunctionDecl() 481 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); } in VisitCapturedDecl() 666 Visit(D->getBody()); in VisitObjCMethodDecl() 688 Visit(D->getBody()); in VisitBlockDecl() 763 Visit(Node->getBody()); in VisitLambdaExpr() 794 Visit(Node->getBody()); in VisitCXXForRangeStmt()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Syntax/ |
| H A D | Nodes.h | 243 Statement *getBody(); 253 Statement *getBody(); 262 Statement *getBody(); 283 Statement *getBody(); 292 Statement *getBody(); 327 Statement *getBody();
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCUnusedIVarsChecker.cpp | 46 Scan(M, BE->getBody()); in Scan() 80 Scan(M, I->getBody()); in Scan() 102 Scan(M, FD->getBody()); in Scan()
|
| H A D | IdenticalExprChecker.cpp | 388 if (!isIdenticalStmt(Ctx, ForStmt1->getBody(), ForStmt2->getBody(), in isIdenticalStmt() 400 if (!isIdenticalStmt(Ctx, DStmt1->getBody(), DStmt2->getBody(), in isIdenticalStmt() 412 if (!isIdenticalStmt(Ctx, WStmt1->getBody(), WStmt2->getBody(), in isIdenticalStmt()
|
| H A D | MallocOverflowSecurityChecker.cpp | 248 return this->Visit(S->getBody()); in VisitWhileStmt() 251 return this->Visit(S->getBody()); in VisitForStmt() 254 return this->Visit(S->getBody()); in VisitDoStmt() 280 c.Visit(mgr.getAnalysisDeclContext(D)->getBody()); in OutputPossibleOverflows()
|
| H A D | ObjCMissingSuperCallChecker.cpp | 189 if (MD->getBody()) in checkASTDecl() 197 PathDiagnosticLocation::createEnd(MD->getBody(), in checkASTDecl()
|
| H A D | GCDAntipatternChecker.cpp | 212 auto Matches = match(SemaphoreMatcherM, *D->getBody(), AM.getASTContext()); in checkASTCodeBody() 217 Matches = match(GroupMatcherM, *D->getBody(), AM.getASTContext()); in checkASTCodeBody()
|
| H A D | CheckSizeofPointer.cpp | 85 walker.Visit(D->getBody()); in checkASTCodeBody()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/ |
| H A D | Nodes.cpp | 226 syntax::Statement *syntax::SwitchStatement::getBody() { in getBody() function in syntax::SwitchStatement 241 syntax::Statement *syntax::CaseStatement::getBody() { in getBody() function in syntax::CaseStatement 251 syntax::Statement *syntax::DefaultStatement::getBody() { in getBody() function in syntax::DefaultStatement 280 syntax::Statement *syntax::ForStatement::getBody() { in getBody() function in syntax::ForStatement 290 syntax::Statement *syntax::WhileStatement::getBody() { in getBody() function in syntax::WhileStatement 320 syntax::Statement *syntax::RangeBasedForStatement::getBody() { in getBody() function in syntax::RangeBasedForStatement
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 153 if (const auto *Body = F->getBody()) in visitFunc() 301 const Stmt *Body = S->getBody(); in visitWhileStmt() 326 const Stmt *Body = S->getBody(); in visitDoStmt() 351 const Stmt *Body = S->getBody(); in visitForStmt()
|
| /openbsd-src/gnu/llvm/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 56 Stmt *Body = Decl->getBody(); in VisitCXXMethodDecl() 97 Stmt *Body = Decl->getBody(); in ShouldSkip()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 590 return cast<WhileStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 592 return cast<DoStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 594 return cast<ForStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 596 return cast<CXXForRangeStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 598 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S; in isBodyLikeChildStmt() 901 Body = FD->getBody(); in DiagnoseUnguardedAvailabilityViolations() 908 Body = MD->getBody(); in DiagnoseUnguardedAvailabilityViolations() 910 Body = BD->getBody(); in DiagnoseUnguardedAvailabilityViolations()
|
| H A D | UsedDeclVisitor.h | 111 if (auto *S = CD->getBody()) { in visitUsedDecl() 115 if (auto *S = CD->getBody()) { in visitUsedDecl()
|