| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 223 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson() 232 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 153 !(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 D | ParseTemplate.cpp | 1403 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
|
| H A D | Parser.cpp | 1298 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 | 1073 const FunctionDecl *FDecl = CallDecl->getAsFunction(); in getPrintfFormatArgumentNum()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CallGraph.h | 195 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenBuiltin.cpp | 83 const FunctionDecl *fd = gd.getDecl()->getAsFunction(); in emitBuiltinExpr()
|
| H A D | CIRGenModule.cpp | 1039 if (const auto *fd = dd->getAsFunction()) in getCIRLinkageForDeclarator()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 1136 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 D | SemaAccess.cpp | 1098 << 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 D | SemaCUDA.cpp | 795 FunctionDecl *OldD = D->getAsFunction(); in maybeAddHostDeviceAttrs() 1031 FunctionDecl *OldFD = OldND->getAsFunction(); in checkTargetOverload()
|
| H A D | SemaFunctionEffects.cpp | 624 if (auto *FD = D->getAsFunction()) { in verifyDecl() 1448 if (const auto *FD = D->getAsFunction(); FD && !FD->willHaveBody()) in maybeAddDeclWithEffects()
|
| H A D | AnalysisBasedWarnings.cpp | 826 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody() 842 if (D->getAsFunction()) { in CheckFallThroughForBody()
|
| H A D | SemaLookup.cpp | 3350 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 D | SemaAvailability.cpp | 1084 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
|
| H A D | SemaDecl.cpp | 1449 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 D | SemaCoroutine.cpp | 1103 if (!Decl->getAsFunction()->isTypeAwareOperatorNewOrDelete()) in DiagnoseTypeAwareAllocators()
|
| H A D | SemaConcept.cpp | 927 const FunctionDecl *FD = ND->getAsFunction(); in SubstituteConstraintExpressionWithoutSatisfaction()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RetainPtrCtorAdoptChecker.cpp | 233 auto *FnDecl = CalleeDecl ? CalleeDecl->getAsFunction() : nullptr; in checkCreateOrCopyFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 1789 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker() 1865 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | DeclBase.cpp | 255 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
|
| H A D | ExprCXX.cpp | 1592 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 2117 ->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 D | DeclarationFragments.cpp | 1335 Decl->getAsFunction())); in getFragmentsForFunctionTemplate()
|