Home
last modified time | relevance | path

Searched refs:getAsFunction (Results 1 – 22 of 22) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp114 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef()
115 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef()
125 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
167 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
H A DParseTemplate.cpp1374 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
H A DParser.cpp1128 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCUDA.cpp563 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()
806 FunctionDecl *TemplFD = Templ->getAsFunction(); in MarkKnownEmitted()
920 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
H A DSemaAccess.cpp1080 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()
1771 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()
1780 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
H A DSemaLookup.cpp2806 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces()
3241 NoteOverloadCandidate(*I, (*I)->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()
3277 FunctionDecl *OldFD = Old->getAsFunction(); in insert()
3278 FunctionDecl *NewFD = New->getAsFunction(); in insert()
H A DAnalysisBasedWarnings.cpp663 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody()
H A DSemaDecl.cpp1289 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext()
2991 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl()
9605 if (D->getAsFunction()->getMultiVersionKind() != MultiVersionKind::None) in PreviousDeclsHaveMultiVersionAttribute()
9727 FunctionDecl *CurFD = ND->getAsFunction(); in CheckMultiVersionAdditionalDecl()
9880 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction()
9891 FunctionDecl *OldFD = OldDecl->getAsFunction(); in CheckMultiVersionFunction()
10023 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
13054 if (const FunctionDecl *FD = D->getAsFunction()) { in canSkipFunctionBody()
13069 if (FunctionDecl *FD = Decl->getAsFunction()) in ActOnSkippedFunctionBody()
13097 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody()
H A DSema.cpp1761 if (const auto *FD = Fn->getAsFunction()) { in noteOverloads()
H A DSemaCodeComplete.cpp674 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType()
2273 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
H A DSemaDeclAttr.cpp8274 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
H A DSemaOverload.cpp997 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
H A DSemaDeclCXX.cpp9659 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclBase.h1023 FunctionDecl *getAsFunction() LLVM_READONLY;
1025 const FunctionDecl *getAsFunction() const { in getAsFunction() function
1026 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenModule.cpp1004 ->getAsFunction() in UpdateMultiVersionNames()
1011 ->getAsFunction() in UpdateMultiVersionNames()
2594 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition()
3791 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()
5464 const FunctionDecl *FD = GD.getDecl()->getAsFunction(); in getFunctionFeatureMap()
H A DCGBuiltin.cpp1476 const FunctionDecl *FD = GD.getDecl()->getAsFunction(); in EmitBuiltinExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclBase.cpp218 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
H A DDecl.cpp659 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl()
1748 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
H A DExprCXX.cpp1394 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DDeclCXX.cpp1429 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DASTContext.cpp9924 FunctionDecl *CurFD = CurDecl->getAsFunction()->getMostRecentDecl(); in forEachMultiversionedFunctionVersion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2390 dyn_cast<CXXMethodDecl>(Succ->getCodeDecl().getAsFunction()); in VisitNode()