Searched refs:getBody (Results 51 - 75 of 119) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp667 Stmt *BodyFarm::getBody(const FunctionDecl *D) { function in class:BodyFarm
696 else if (Injector) { Val = Injector->getBody(D); }
819 Stmt *BodyFarm::getBody(const ObjCMethodDecl *D) { function in class:BodyFarm
H A DCloneDetection.cpp94 Sequences.push_back(StmtSequence(D->getBody(), D));
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp617 Body = FD->getBody();
619 Body = OMD->getBody();
770 if (FD->getBody() &&
771 FD->getBody()->getStmtClass() == Stmt::CoroutineBodyStmtClass)
1261 if (Stmt *Body = FD->getBody())
1280 Stmt *Body = FD->getBody();
H A DCGCoroutine.cpp659 CXXTryStmt::Create(getContext(), Loc, S.getBody(), &Catch);
669 emitBodyAndFallthrough(*this, S, S.getBody());
H A DCGBlocks.cpp1419 SourceLocation StartLoc = BlockInfo->getBlockExpr()->getBody()->getBeginLoc();
1514 blockInfo.getBlockExpr()->getBody()->getBeginLoc());
1565 incrementProfileCounter(blockDecl->getBody());
1566 EmitStmt(blockDecl->getBody());
1599 cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc());
1608 FinishFunction(cast<CompoundStmt>(blockDecl->getBody())->getRBracLoc());
H A DCGObjC.cpp736 assert(isa<CompoundStmt>(OMD->getBody()));
737 incrementProfileCounter(OMD->getBody());
738 EmitCompoundStmtWithoutScope(*cast<CompoundStmt>(OMD->getBody()));
1738 createProfileWeights(EntryCount, getProfileCount(S.getBody())));
1896 EmitStmt(S.getBody());
1918 createProfileWeights(getProfileCount(S.getBody()), EntryCount));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp1385 CallOperator->getBody()->getEndLoc());
1423 /*isInline=*/true, CSK_unspecified, CallOperator->getBody()->getEndLoc());
1470 CallOperator->getBody()->getEndLoc());
1827 !isa<CoroutineBodyStmt>(CallOperator->getBody()) &&
H A DAnalysisBasedWarnings.cpp1263 FM.TraverseStmt(AC.getBody());
1663 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(),
1674 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(),
1688 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(),
2098 const Stmt *Body = D->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp165 V.TraverseStmt(AC->getBody());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp522 return M->getDefinition()->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprConcepts.h512 RequiresExprBodyDecl *getBody() const { return Body; } function in class:clang::final
H A DRecursiveASTVisitor.h1415 TRY_TO(TraverseStmt(D->getBody()));
1425 TRY_TO(TraverseStmt(D->getBody()));
1555 TRY_TO(TraverseStmt(D->getBody()));
2047 TRY_TO(TraverseStmt(D->getBody())); // Function body.
2234 TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getBody());
2513 TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getBody());
2685 TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getBody());
2719 TRY_TO(TraverseDecl(S->getBody()));
H A DDeclBase.h1007 /// getBody - If this Decl represents a declaration for a body of code,
1010 virtual Stmt* getBody() const { return nullptr; } function
1016 virtual bool hasBody() const { return getBody() != nullptr; }
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp83 UnbridgedCastRewriter(Pass).transformBody(D->getBody(), D);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp777 if (D->getBody())
778 D->getBody()->printPretty(Out, nullptr, SubPolicy, Indentation);
1261 if (OMD->getBody() && !Policy.TerseOutput) {
1263 OMD->getBody()->printPretty(Out, nullptr, Policy);
H A DExprCXX.cpp1113 *Stored++ = getCallOperator()->getBody();
1157 This->getStoredStmts()[capture_size()] = getCallOperator()->getBody();
1161 Stmt *LambdaExpr::getBody() const { function in class:LambdaExpr
1167 Stmt *Body = getBody();
1169 return cast<CompoundStmt>(CoroBody->getBody());
H A DStmtOpenMP.cpp40 return LD->getBody();
88 Stmt *OMPLoopDirective::getBody() { function in class:OMPLoopDirective
93 Body = For->getBody();
97 Body = cast<CXXForRangeStmt>(Body)->getBody();
102 Body = For->getBody();
106 Body = cast<CXXForRangeStmt>(Body)->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp184 const Stmt *Body = D->getBody();
291 const Stmt *Body = D->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp183 LCtx->getAnalysisDeclContext()->getBody(),
297 calleeCtx->getAnalysisDeclContext()->getBody(),
H A DCallEvent.cpp552 Stmt* Body = AD->getBody(IsAutosynthesized);
1437 Trigger = Dtor->getBody();
H A DPlistDiagnostics.cpp741 if (const Stmt *Body = DeclWithIssue->getBody()) {
751 D->getUniqueingDecl()->getBody()->getBeginLoc()),
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp171 Record.AddStmt(S->getBody());
192 Record.AddStmt(S->getBody());
205 Record.AddStmt(S->getBody());
218 Record.AddStmt(S->getBody());
450 Record.AddDeclRef(E->getBody());
1429 Record.AddStmt(S->getBody());
1535 Record.AddStmt(S->getBody());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp628 const Stmt *Body = D->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1350 if (!OMD->getBody())
1363 if (!OMD->getBody())
1828 if (isa<CompoundStmt>(S->getBody())) {
4468 GetBlockDeclRefExprs(CBE->getBody());
4487 GetInnerBlockDeclRefExprs(CBE->getBody(),
5166 GetBlockDeclRefExprs(Exp->getBody());
5472 GetInnerBlockDeclRefExprs(BE->getBody(),
5476 CurrentBody = BE->getBody();
5485 RewriteFunctionBodyOrGlobalInitializer(BE->getBody());
5702 if (CompoundStmt *Body = dyn_cast_or_null<CompoundStmt>(FD->getBody())) {
[all...]
H A DRewriteObjC.cpp1174 if (!OMD->getBody())
1187 if (!OMD->getBody())
1621 if (isa<CompoundStmt>(S->getBody())) {
3657 GetBlockDeclRefExprs(CBE->getBody());
3676 GetInnerBlockDeclRefExprs(CBE->getBody(),
4322 GetBlockDeclRefExprs(Exp->getBody());
4597 GetInnerBlockDeclRefExprs(BE->getBody(),
4601 CurrentBody = BE->getBody();
4610 RewriteFunctionBodyOrGlobalInitializer(BE->getBody());
4803 if (CompoundStmt *Body = dyn_cast_or_null<CompoundStmt>(FD->getBody())) {
[all...]

Completed in 293 milliseconds

12345