/freebsd/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/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 159 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef() 160 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef() 170 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef() 225 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
|
H A D | ParseTemplate.cpp | 1614 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
|
H A D | Parser.cpp | 1374 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
|
/freebsd/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 | 1076 const FunctionDecl *FDecl = CallDecl->getAsFunction(); in getPrintfFormatArgumentNum()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 774 FunctionDecl *OldD = D->getAsFunction(); in maybeAddHostDeviceAttrs() 1010 FunctionDecl *OldFD = OldND->getAsFunction(); in checkTargetOverload()
|
H A D | SemaAccess.cpp | 1100 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess() 1829 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess() 1838 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
|
H A D | SemaLookup.cpp | 3257 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces() 3722 NoteOverloadCandidate(D, D->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator() 3758 FunctionDecl *OldFD = Old->getAsFunction(); in insert() 3759 FunctionDecl *NewFD = New->getAsFunction(); in insert()
|
H A D | SemaAvailability.cpp | 1015 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
|
H A D | AnalysisBasedWarnings.cpp | 710 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody()
|
H A D | SemaDecl.cpp | 1432 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext() 3538 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl() 3558 ->getAsFunction(); in MergeFunctionDecl() 11275 if (D->getAsFunction()->getMultiVersionKind() != MultiVersionKind::None) in PreviousDeclsHaveMultiVersionAttribute() 11468 FunctionDecl *CurFD = ND->getAsFunction(); in CheckMultiVersionAdditionalDecl() 11712 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction() 11722 FunctionDecl *OldFD = OldDecl->getAsFunction(); in CheckMultiVersionFunction() 11919 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration() 15692 if (const FunctionDecl *FD = D->getAsFunction()) { in canSkipFunctionBody() 15707 if (FunctionDecl *FD = Decl->getAsFunction()) in ActOnSkippedFunctionBody() [all …]
|
H A D | SemaConcept.cpp | 971 if (auto *FD = DeclInfo.getDecl()->getAsFunction()) in SubstituteConstraintExpressionWithoutSatisfaction()
|
H A D | SemaOverload.cpp | 1040 if (FunctionsCorrespond(S.Context, EqFD, Op->getAsFunction())) in shouldAddReversedEqEq() 1046 auto *NotEqFD = Op->getAsFunction(); in shouldAddReversedEqEq() 1048 NotEqFD = UD->getUnderlyingDecl()->getAsFunction(); in shouldAddReversedEqEq() 1204 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload() 8292 if (Oper->getAsFunction() && in AddMemberOperatorCandidates() 8295 *this, {Args[1], Args[0]}, Oper->getAsFunction())) in AddMemberOperatorCandidates()
|
H A D | Sema.cpp | 2590 if (const auto *FD = Fn->getAsFunction()) { in noteOverloads()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclBase.h | 1128 FunctionDecl *getAsFunction() LLVM_READONLY; 1130 const FunctionDecl *getAsFunction() const { in getAsFunction() function 1131 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 438 Call.getRuntimeDefinition().getDecl()->getAsFunction(); in castArgToParamTypeIfNeeded()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1672 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker() 1748 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
H A D | DeclBase.cpp | 249 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
|
H A D | ExprCXX.cpp | 1588 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
H A D | Type.cpp | 5136 if (auto *FD = Callee.getAsFunction()) in canInferOnFunction()
|
H A D | Decl.cpp | 1954 if (const auto *MD = dyn_cast_if_present<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 1313 Decl->getAsFunction())); in getFragmentsForFunctionTemplate()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 1945 ->getAsFunction() in UpdateMultiVersionNames() 1952 ->getAsFunction() in UpdateMultiVersionNames() 4377 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition() 5761 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()
|