Searched refs:getBody (Results 1 - 25 of 119) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCodeInjector.h28 /// The getBody function will be called each time the static analyzer examines a
40 virtual Stmt *getBody(const FunctionDecl *D) = 0;
41 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
H A DBodyFarm.h36 Stmt *getBody(const FunctionDecl *D);
39 Stmt *getBody(const ObjCMethodDecl *D);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h41 Stmt *getBody(const FunctionDecl *D) override;
42 Stmt *getBody(const ObjCMethodDecl *D) override;
H A DModelConsumer.cpp37 Bodies.insert(std::make_pair(func->getName(), func->getBody()));
H A DModelInjector.cpp31 Stmt *ModelInjector::getBody(const FunctionDecl *D) { function in class:ModelInjector
36 Stmt *ModelInjector::getBody(const ObjCMethodDecl *D) { function in class:ModelInjector
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp36 return isSemicolonRequiredAfter(While->getBody());
38 return isSemicolonRequiredAfter(For->getBody());
40 return isSemicolonRequiredAfter(CXXFor->getBody());
42 return isSemicolonRequiredAfter(ObjCFor->getBody());
44 return isSemicolonRequiredAfter(Switch->getBody());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp93 Stmt *AnalysisDeclContext::getBody(bool &IsAutosynthesized) const { function in class:AnalysisDeclContext
96 Stmt *Body = FD->getBody();
98 Body = CoroBody->getBody();
100 Stmt *SynthesizedBody = ADCMgr->getBodyFarm().getBody(FD);
109 Stmt *Body = MD->getBody();
111 Stmt *SynthesizedBody = ADCMgr->getBodyFarm().getBody(MD);
119 return BD->getBody();
121 return FunTmpl->getTemplatedDecl()->getBody();
126 Stmt *AnalysisDeclContext::getBody() const { function in class:AnalysisDeclContext
128 return getBody(Tm
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp191 CounterMap[D->getBody()] = NextCounter++;
395 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
396 CountMap[D->getBody()] = BodyCount;
397 Visit(D->getBody());
407 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
408 CountMap[D->getBody()] = BodyCount;
409 Visit(D->getBody());
414 uint64_t BodyCount = setCount(PGO.getRegionCount(D->getBody()));
415 CountMap[D->getBody()] = BodyCount;
416 Visit(D->getBody());
[all...]
H A DCoverageMappingGen.cpp399 auto Body = D->getBody();
880 Stmt *Body = D->getBody();
913 Visit(S->getBody());
977 extendRegion(S->getBody());
978 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody());
988 auto Gap = findGapAreaBetween(S->getCond(), S->getBody());
1005 extendRegion(S->getBody());
1007 propagateCounts(addCounters(ParentCount, BodyCount), S->getBody());
1033 extendRegion(S->getBody());
1034 Counter BackedgeCount = propagateCounts(BodyCount, S->getBody());
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp115 if (!S->getBody())
117 return Visit(S->getBody());
125 if (!S->getBody())
127 return Visit(S->getBody());
135 if (!S->getBody())
137 return Visit(S->getBody());
H A DTransBlockObjCVariable.cpp93 bool onlyValueOfVarIsNeeded = checker.TraverseStmt(block->getBody());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp46 Scan(M, BE->getBody());
80 Scan(M, I->getBody());
102 Scan(M, FD->getBody());
H A DCheckSizeofPointer.cpp85 walker.Visit(D->getBody());
H A DOSObjectCStyleCast.cpp77 auto Matches = match(stmt(forEachDescendant(CastM)), *D->getBody(), AM.getASTContext());
H A DGCDAntipatternChecker.cpp212 auto Matches = match(SemaphoreMatcherM, *D->getBody(), AM.getASTContext());
217 Matches = match(GroupMatcherM, *D->getBody(), AM.getASTContext());
H A DObjCMissingSuperCallChecker.cpp188 if (MD->getBody())
196 PathDiagnosticLocation::createEnd(MD->getBody(),
H A DMallocOverflowSecurityChecker.cpp246 return this->Visit(S->getBody());
249 return this->Visit(S->getBody());
252 return this->Visit(S->getBody());
278 c.Visit(mgr.getAnalysisDeclContext(D)->getBody());
H A DUndefCapturedBlockVarChecker.cpp87 if (const Expr *Ex = FindBlockDeclRefExpr(BE->getBody(), VD))
H A DIdenticalExprChecker.cpp388 if (!isIdenticalStmt(Ctx, ForStmt1->getBody(), ForStmt2->getBody(),
400 if (!isIdenticalStmt(Ctx, DStmt1->getBody(), DStmt2->getBody(),
412 if (!isIdenticalStmt(Ctx, WStmt1->getBody(), WStmt2->getBody(),
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h93 if (auto *S = CD->getBody()) {
97 if (auto *S = CD->getBody()) {
H A DSemaAvailability.cpp586 return cast<WhileStmt>(Parent)->getBody() == S;
588 return cast<DoStmt>(Parent)->getBody() == S;
590 return cast<ForStmt>(Parent)->getBody() == S;
592 return cast<CXXForRangeStmt>(Parent)->getBody() == S;
594 return cast<ObjCForCollectionStmt>(Parent)->getBody() == S;
911 Body = FD->getBody();
913 Body = MD->getBody();
915 Body = BD->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h169 Stmt *getBody() { return SubExprs[BODY]; } function in class:clang::CXXForRangeStmt
189 const Stmt *getBody() const { return SubExprs[BODY]; } function in class:clang::CXXForRangeStmt
378 Stmt *getBody() const { function in class:clang::final
422 return getBody() ? getBody()->getBeginLoc()
426 return getBody() ? getBody()->getEndLoc() : getPromiseDecl()->getEndLoc();
H A DASTNodeTraverser.h400 Visit(D->getBody());
430 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); }
595 Visit(D->getBody());
617 Visit(D->getBody());
679 Visit(Node->getBody());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp73 *LCtx->getDecl()->getBody(), ASTCtx);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.cpp54 Stmt *body_stmt = F->getBody();

Completed in 165 milliseconds

12345