| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson() 113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 115 !(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 D | ParseTemplate.cpp | 1728 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
|
| H A D | Parser.cpp | 1369 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastValueChecker.cpp | 263 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in addInstanceOfTransition() 494 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in evalCall()
|
| H A D | GenericTaintChecker.cpp | 1057 const FunctionDecl *FDecl = CallDecl->getAsFunction(); in getPrintfFormatArgumentNum()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CallGraph.h | 198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 757 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs() 984 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
|
| H A D | SemaAccess.cpp | 1102 << 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 D | SemaAvailability.cpp | 930 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
|
| H A D | SemaLookup.cpp | 3297 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 D | AnalysisBasedWarnings.cpp | 710 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody()
|
| H A D | SemaDecl.cpp | 1498 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 D | SemaOverload.cpp | 962 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 D | Sema.cpp | 2599 if (const auto *FD = Fn->getAsFunction()) { in noteOverloads()
|
| H A D | SemaCodeComplete.cpp | 942 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 D | DeclBase.h | 1139 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 D | CallEvent.cpp | 438 Call.getRuntimeDefinition().getDecl()->getAsFunction(); in castArgToParamTypeIfNeeded()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 1630 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker() 1706 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | DeclBase.cpp | 227 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
|
| H A D | ExprCXX.cpp | 1538 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| H A D | Type.cpp | 2716 IsDefaultedOperatorEqualEqual(ND->getAsFunction()); in HasNonDeletedDefaultedEqualityComparison()
|
| H A D | Decl.cpp | 1969 if (const auto *MD = dyn_cast_if_present<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 1151 Decl->getAsFunction())); in getFragmentsForFunctionTemplate()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 1919 ->getAsFunction() in UpdateMultiVersionNames() 1926 ->getAsFunction() in UpdateMultiVersionNames() 4325 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition() 5617 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()
|