Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Frontend/
H A DModelConsumer.cpp36 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()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DContext.cpp32 if (!Func || !Func->hasBody()) { in isPotentialConstantExpr()
H A DFunction.h139 bool hasBody() const { return HasBody; } in hasBody() function
H A DByteCodeEmitter.cpp27 bool HasBody = FuncDecl->hasBody(FuncDecl); in compileFunc()
/openbsd/gnu/llvm/clang/examples/CallSuperAttribute/
H A DCallSuperAttrInfo.cpp81 if (MethodDecl->isThisDeclarationADefinition() && MethodDecl->hasBody()) { in VisitCXXMethodDecl()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.cpp86 assert(D->hasBody()); in emitDiagnostics()
H A DIvarInvalidationChecker.cpp433 if (D && D->hasBody()) { in visit()
485 if (D && D->hasBody()) { in visit()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp773 if (!Result->hasBody(Definition)) { in getRuntimeDefinition()
1162 if (!MD->hasBody()) { in findDefiningRedecl()
1164 if (I->hasBody()) in findDefiningRedecl()
1325 if (MD && !MD->hasBody()) in getRuntimeDefinition()
H A DLoopUnrolling.cpp165 unless(hasBody(hasSuspiciousStmt("initVarName")))) in forLoopMatcher()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCallGraph.cpp157 if (!D->hasBody()) in includeInGraph()
H A DCloneDetection.cpp92 assert(D->hasBody()); in analyzeCodeBody()
H A DAnalysisDeclContext.cpp298 FD->hasBody(FD); in getContext()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DModuleBuilder.cpp119 if (FD->hasBody(FD)) in GetDeclForMangledName()
H A DCGVTables.cpp1042 if (keyFunction->hasBody(def)) in getVTableLinkage()
1176 return !keyFunction->hasBody(); in isVTableExternal()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp75 if (MD->isDependentContext() || !MD->hasBody()) in WriteNamedDecl()
/openbsd/gnu/llvm/clang/lib/AST/
H A DDecl.cpp567 FD->hasBody(Def) && Def->isInlined() && !Def->hasAttr<GNUInlineAttr>(); in useInlineVisibilityHidden()
3046 bool FunctionDecl::hasBody(const FunctionDecl *&Definition) const { in hasBody() function in FunctionDecl
3127 if (!hasBody(Definition)) in getBody()
3292 return hasBody(Definition) && Definition->isInlineSpecified() && in isInlineBuiltinDeclaration()
3590 if (hasBody(Definition) && Definition->isInlined() && in doesDeclarationForceExternallyVisibleDefinition()
3863 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable()
4131 if (FD->hasBody(Definition)) in isOutOfLine()
4139 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
/openbsd/gnu/llvm/clang/utils/TableGen/
H A DNeonEmitter.cpp459 bool hasBody() const { return Body && !Body->getValues().empty(); } in hasBody() function in __anon28c10cfc0111::Intrinsic
2017 if (Def->hasBody()) in genBuiltinsDef()
2062 if (Def->hasBody()) in genOverloadTypeCheckCode()
2130 if (Def->hasBody()) in genIntrinsicRangeCheckCode()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSema.cpp738 if (FD->hasBody(DeclToCheck)) in ShouldRemoveFromUnused()
1349 if (!FD->hasBody(DiagD)) in ActOnEndOfTranslationUnit()
2041 if (Ty->isSVESizelessBuiltinType() && FD && FD->hasBody()) { in checkTypeSupport()

123