Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp115 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef()
116 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef()
126 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
181 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
H A DParseTemplate.cpp1728 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
H A DParser.cpp1369 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/freebsd-14.2/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.cpp1057 const FunctionDecl *FDecl = CallDecl->getAsFunction(); in getPrintfFormatArgumentNum()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp757 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()
984 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
H A DSemaAccess.cpp1102 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()
1820 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()
1829 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
H A DSemaAvailability.cpp930 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
H A DSemaLookup.cpp3297 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces()
3788 NoteOverloadCandidate(D, D->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()
3824 FunctionDecl *OldFD = Old->getAsFunction(); in insert()
3825 FunctionDecl *NewFD = New->getAsFunction(); in insert()
H A DAnalysisBasedWarnings.cpp710 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody()
H A DSemaDecl.cpp1498 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext()
3692 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl()
3712 ->getAsFunction(); in MergeFunctionDecl()
11378 if (D->getAsFunction()->getMultiVersionKind() != MultiVersionKind::None) in PreviousDeclsHaveMultiVersionAttribute()
11541 FunctionDecl *CurFD = ND->getAsFunction(); in CheckMultiVersionAdditionalDecl()
11754 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction()
11764 FunctionDecl *OldFD = OldDecl->getAsFunction(); in CheckMultiVersionFunction()
11965 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
15906 if (const FunctionDecl *FD = D->getAsFunction()) { in canSkipFunctionBody()
15921 if (FunctionDecl *FD = Decl->getAsFunction()) in ActOnSkippedFunctionBody()
[all …]
H A DSemaOverload.cpp962 if (FunctionsCorrespond(S.Context, EqFD, Op->getAsFunction())) in shouldAddReversedEqEq()
968 auto *NotEqFD = Op->getAsFunction(); in shouldAddReversedEqEq()
970 NotEqFD = UD->getUnderlyingDecl()->getAsFunction(); in shouldAddReversedEqEq()
1159 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
8280 if (Oper->getAsFunction() && in AddMemberOperatorCandidates()
8283 *this, {Args[1], Args[0]}, Oper->getAsFunction())) in AddMemberOperatorCandidates()
H A DSema.cpp2599 if (const auto *FD = Fn->getAsFunction()) { in noteOverloads()
H A DSemaCodeComplete.cpp942 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType()
2783 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h1139 FunctionDecl *getAsFunction() LLVM_READONLY;
1141 const FunctionDecl *getAsFunction() const { in getAsFunction() function
1142 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp438 Call.getRuntimeDefinition().getDecl()->getAsFunction(); in castArgToParamTypeIfNeeded()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1630 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker()
1706 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DDeclBase.cpp227 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
H A DExprCXX.cpp1538 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DType.cpp2716 IsDefaultedOperatorEqualEqual(ND->getAsFunction()); in HasNonDeletedDefaultedEqualityComparison()
H A DDecl.cpp1969 if (const auto *MD = dyn_cast_if_present<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp1151 Decl->getAsFunction())); in getFragmentsForFunctionTemplate()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1919 ->getAsFunction() in UpdateMultiVersionNames()
1926 ->getAsFunction() in UpdateMultiVersionNames()
4325 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition()
5617 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()

12