Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp243 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getSource()
250 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getExpr()
257 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getLocation()
264 if (Func && (!Func->hasBody() || Func->getDecl()->isImplicit()) && Caller) in getRange()
H A DFunction.cpp39 assert(hasBody() && "Function has no body"); in getSource()
H A DByteCodeEmitter.cpp163 (FuncDecl->willHaveBody() && !FuncDecl->hasBody())) { in compileFunc()
192 std::move(Scopes), FuncDecl->hasBody()); in compileFunc()
H A DEvalEmitter.h76 return (F && F->hasBody()) ? F->getSource(PC) : CurrentSource; in getSource()
H A DFunction.h174 bool hasBody() const { return HasBody; } in hasBody() function
H A DContext.cpp31 if (!Func || !Func->hasBody()) in isPotentialConstantExpr()
H A DInterp.cpp583 if (F->isConstexpr() && F->hasBody() && in CheckCallable()
627 DiagDecl->hasBody()) in CheckCallable()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaWasm.cpp257 if (FD->hasBody()) { in mergeImportModuleAttr()
277 if (FD->hasBody()) { in mergeImportNameAttr()
293 if (FD->hasBody()) { in handleWebAssemblyImportModuleAttr()
309 if (FD->hasBody()) { in handleWebAssemblyImportNameAttr()
/freebsd/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()
661 if (!D->hasBody()) in HandleCode()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNoOwnershipChangeVisitor.cpp83 if (!FD || !FD->hasBody()) in wasModifiedInFunction()
H A DRunLoopAutoreleaseLeakChecker.cpp86 assert(D->hasBody()); in emitDiagnostics()
/freebsd/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/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()
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/
H A DModuleBuilder.cpp119 if (FD->hasBody(FD)) in GetDeclForMangledName()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp68 if (D && D->hasBody()) in VisitCallExpr()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp459 bool hasBody() const { return Body && !Body->getValues().empty(); } in hasBody() function in __anonfaf0748f0111::Intrinsic
2014 if (Def->hasBody()) in genBuiltinsDef()
2047 if (Def->hasBody()) in genStreamingSVECompatibleList()
2083 if (Def->hasBody()) in genOverloadTypeCheckCode()
2152 if (Def->hasBody()) in genIntrinsicRangeCheckCode()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp76 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp571 FD->hasBody(Def) && Def->isInlined() && !Def->hasAttr<GNUInlineAttr>(); in useInlineVisibilityHidden()
3148 bool FunctionDecl::hasBody(const FunctionDecl *&Definition) const { in hasBody() function in FunctionDecl
3229 if (!hasBody(Definition)) in getBody()
3446 if (!hasBody(Definition)) in isInlineBuiltinDeclaration()
3807 if (hasBody(Definition) && Definition->isInlined() && in doesDeclarationForceExternallyVisibleDefinition()
4086 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable()
4372 if (FD->hasBody(Definition)) in isOutOfLine()
4380 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp92 assert(D->hasBody()); in analyzeCodeBody()

123