Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp185 if (!ND || !ND->hasBody(ResultDecl)) in findFunctionInDeclContext()
200 assert(!FD->hasBody() && "FD has a definition in current translation unit!"); in getCrossTUDefinition()
332 assert(FD->hasBody() && "Functions to be imported should have body."); in importDefinition()
339 assert(ToDecl->hasBody()); in importDefinition()
340 assert(FD->hasBody() && "Functions already imported should have body."); in importDefinition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DModelConsumer.cpp37 if (func && func->hasBody()) { in HandleTopLevelDecl()
H A DAnalysisConsumer.cpp370 if (BD->hasBody()) { in VisitBlockDecl()
694 if (!D->hasBody()) in HandleCode()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.cpp52 if (!F->hasBody()) in ExtractFromFunctionDecl()
H A DASTResultSynthesizer.cpp91 if (m_ast_context && function_decl->hasBody() && in TransformTopLevelDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.cpp87 assert(D->hasBody()); in emitDiagnostics()
H A DIvarInvalidationChecker.cpp435 if (D && D->hasBody()) { in visit()
487 if (D && D->hasBody()) { in visit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCallGraph.cpp127 if (!D->hasBody()) in includeInGraph()
H A DCloneDetection.cpp92 assert(D->hasBody()); in analyzeCodeBody()
H A DAnalysisDeclContext.cpp298 FD->hasBody(FD); in getContext()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp104 if (!D->hasBody()) in TraverseObjCMethodDecl()
H A DTransEmptyStatementsAndDealloc.cpp209 if (!MD->hasBody()) in cleanupDeallocOrFinalize()
H A DTransGCAttrs.cpp126 return FD->hasBody(); in isMigratable()
H A DTransforms.cpp529 if (!MD->hasBody()) in GCRewriteFinalize()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DModuleBuilder.cpp109 if (FD->hasBody(FD)) in GetDeclForMangledName()
H A DCGVTables.cpp803 if (keyFunction->hasBody(def)) in getVTableLinkage()
937 return !keyFunction->hasBody(); in isVTableExternal()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp759 if (!Result->hasBody(Definition)) in getRuntimeDefinition()
1145 if (!MD->hasBody()) { in findDefiningRedecl()
1147 if (I->hasBody()) in findDefiningRedecl()
H A DLoopUnrolling.cpp160 unless(hasBody(hasSuspiciousStmt("initVarName")))).bind("forLoop"); in forLoopMatcher()
H A DCheckerManager.cpp90 assert(D && D->hasBody()); in runCheckersOnASTBody()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDecl.cpp556 FD->hasBody(Def) && Def->isInlined() && !Def->hasAttr<GNUInlineAttr>(); in useInlineVisibilityHidden()
2695 bool FunctionDecl::hasBody(const FunctionDecl *&Definition) const { in hasBody() function in FunctionDecl
2732 if (!hasBody(Definition)) in getBody()
3150 if (hasBody(Definition) && Definition->isInlined() && in doesDeclarationForceExternallyVisibleDefinition()
3389 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable()
3622 if (FD->hasBody(Definition)) in isOutOfLine()
3630 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
H A DDeclBase.cpp668 if (FD->hasBody()) { in canBeWeakImported()
911 if (FD->hasBody(Definition)) in getBodyRBrace()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DNeonEmitter.cpp432 bool hasBody() const { return Body && !Body->getValues().empty(); } in hasBody() function in __anoneec6fbfe0111::Intrinsic
2085 if (Def->hasBody()) in genBuiltinsDef()
2125 if (Def->hasBody()) in genOverloadTypeCheckCode()
2209 if (Def->hasBody()) in genIntrinsicRangeCheckCode()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp251 REGISTER_MATCHER(hasBody); in RegistryMaps()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h1931 bool hasBody(const FunctionDecl *&Definition) const;
1933 bool hasBody() const override { in hasBody() function
1935 return hasBody(Definition); in hasBody()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSema.cpp565 if (FD->hasBody(DeclToCheck)) in ShouldRemoveFromUnused()
1084 if (!FD->hasBody(DiagD)) in ActOnEndOfTranslationUnit()

12