Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp223 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
232 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp153 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef()
154 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef()
164 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
219 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
H A DParseTemplate.cpp1403 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
H A DParser.cpp1298 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp263 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in addInstanceOfTransition()
494 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in evalCall()
H A DGenericTaintChecker.cpp1073 const FunctionDecl *FDecl = CallDecl->getAsFunction(); in getPrintfFormatArgumentNum()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h195 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenBuiltin.cpp83 const FunctionDecl *fd = gd.getDecl()->getAsFunction(); in emitBuiltinExpr()
H A DCIRGenModule.cpp1039 if (const auto *fd = dd->getAsFunction()) in getCIRLinkageForDeclarator()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h1136 FunctionDecl *getAsFunction() LLVM_READONLY;
1138 const FunctionDecl *getAsFunction() const { in getAsFunction() function
1139 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp1098 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()
1825 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()
1834 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
H A DSemaCUDA.cpp795 FunctionDecl *OldD = D->getAsFunction(); in maybeAddHostDeviceAttrs()
1031 FunctionDecl *OldFD = OldND->getAsFunction(); in checkTargetOverload()
H A DSemaFunctionEffects.cpp624 if (auto *FD = D->getAsFunction()) { in verifyDecl()
1448 if (const auto *FD = D->getAsFunction(); FD && !FD->willHaveBody()) in maybeAddDeclWithEffects()
H A DAnalysisBasedWarnings.cpp826 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody()
842 if (D->getAsFunction()) { in CheckFallThroughForBody()
H A DSemaLookup.cpp3350 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces()
3816 NoteOverloadCandidate(D, D->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()
3852 FunctionDecl *OldFD = Old->getAsFunction(); in insert()
3853 FunctionDecl *NewFD = New->getAsFunction(); in insert()
H A DSemaAvailability.cpp1084 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
H A DSemaDecl.cpp1449 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext()
3607 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl()
3627 ->getAsFunction(); in MergeFunctionDecl()
11506 if (D->getAsFunction()->getMultiVersionKind() != MultiVersionKind::None) in PreviousDeclsHaveMultiVersionAttribute()
11699 FunctionDecl *CurFD = ND->getAsFunction(); in CheckMultiVersionAdditionalDecl()
11945 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction()
11955 FunctionDecl *OldFD = OldDecl->getAsFunction(); in CheckMultiVersionFunction()
12153 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
16133 if (const FunctionDecl *FD = D->getAsFunction()) { in canSkipFunctionBody()
16148 if (FunctionDecl *FD = Decl->getAsFunction()) in ActOnSkippedFunctionBody()
[all …]
H A DSemaCoroutine.cpp1103 if (!Decl->getAsFunction()->isTypeAwareOperatorNewOrDelete()) in DiagnoseTypeAwareAllocators()
H A DSemaConcept.cpp927 const FunctionDecl *FD = ND->getAsFunction(); in SubstituteConstraintExpressionWithoutSatisfaction()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRetainPtrCtorAdoptChecker.cpp233 auto *FnDecl = CalleeDecl ? CalleeDecl->getAsFunction() : nullptr; in checkCreateOrCopyFunction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1789 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker()
1865 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DDeclBase.cpp255 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
H A DExprCXX.cpp1592 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp2117 ->getAsFunction() in UpdateMultiVersionNames()
2124 ->getAsFunction() in UpdateMultiVersionNames()
3440 if (const auto *FD = D.getDecl()->getAsFunction()) { in EmitDeferred()
4621 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition()
6068 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp1335 Decl->getAsFunction())); in getFragmentsForFunctionTemplate()

12