Home
last modified time | relevance | path

Searched refs:hasBody (Results 1 – 25 of 63) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelConsumer.cpp35 if (func && func->hasBody()) { in HandleTopLevelDecl()
H A DAnalysisConsumer.cpp333 if (BD->hasBody()) { in VisitBlockDecl()
478 FD->hasBody(FD); in HandleDeclsCallGraph()
660 if (!D->hasBody()) in HandleCode()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.cpp39 assert(hasBody() && "Function has no body"); in getSource()
H A DInterpFrame.cpp231 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getSource()
246 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getRange()
H A DEvalEmitter.h68 return (F && F->hasBody()) ? F->getSource(PC) : CurrentSource; in getSource()
H A DFunction.h171 bool hasBody() const { return HasBody; } in hasBody() function
H A DContext.cpp33 if (!Func || !Func->hasBody()) in isPotentialConstantExpr()
H A DByteCodeEmitter.cpp134 std::move(Scopes), FuncDecl->hasBody()); in compileFunc()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.cpp51 if (!F->hasBody()) in ExtractFromFunctionDecl()
H A DASTResultSynthesizer.cpp92 if (m_ast_context && function_decl->hasBody() && in TransformTopLevelDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.cpp86 assert(D->hasBody()); in emitDiagnostics()
H A DIvarInvalidationChecker.cpp425 if (D && D->hasBody()) { in visit()
474 if (D && D->hasBody()) { in visit()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp103 if (!D->hasBody()) in TraverseObjCMethodDecl()
H A DTransEmptyStatementsAndDealloc.cpp207 if (!MD->hasBody()) in cleanupDeallocOrFinalize()
H A DTransGCAttrs.cpp128 return FD->hasBody(); in isMigratable()
H A DTransforms.cpp528 if (!MD->hasBody()) in GCRewriteFinalize()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp801 if (!Result->hasBody(Definition)) { in getRuntimeDefinition()
1190 if (!MD->hasBody()) { in findDefiningRedecl()
1192 if (I->hasBody()) in findDefiningRedecl()
1353 if (MD && !MD->hasBody()) in getRuntimeDefinition()
H A DLoopUnrolling.cpp165 unless(hasBody(hasSuspiciousStmt("initVarName")))) in forLoopMatcher()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp157 if (!D->hasBody()) in includeInGraph()
H A DCloneDetection.cpp92 assert(D->hasBody()); in analyzeCodeBody()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DModuleBuilder.cpp119 if (FD->hasBody(FD)) in GetDeclForMangledName()
H A DCGVTables.cpp1056 if (keyFunction->hasBody(def)) in getVTableLinkage()
1192 if (!keyFunction->hasBody(Def)) in isVTableExternal()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp459 bool hasBody() const { return Body && !Body->getValues().empty(); } in hasBody() function in __anon6f3616850111::Intrinsic
2021 if (Def->hasBody()) in genBuiltinsDef()
2054 if (Def->hasBody()) in genStreamingSVECompatibleList()
2090 if (Def->hasBody()) in genOverloadTypeCheckCode()
2159 if (Def->hasBody()) in genIntrinsicRangeCheckCode()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp75 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp571 FD->hasBody(Def) && Def->isInlined() && !Def->hasAttr<GNUInlineAttr>(); in useInlineVisibilityHidden()
3111 bool FunctionDecl::hasBody(const FunctionDecl *&Definition) const { in hasBody() function in FunctionDecl
3192 if (!hasBody(Definition)) in getBody()
3409 if (!hasBody(Definition)) in isInlineBuiltinDeclaration()
3757 if (hasBody(Definition) && Definition->isInlined() && in doesDeclarationForceExternallyVisibleDefinition()
4036 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable()
4324 if (FD->hasBody(Definition)) in isOutOfLine()
4332 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()

123