| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 113 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef() 114 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef() 124 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef() 165 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
|
| H A D | ParseTemplate.cpp | 1635 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
|
| H A D | Parser.cpp | 1250 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastValueChecker.cpp | 262 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in addInstanceOfTransition() 491 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in evalCall()
|
| H A D | GenericTaintChecker.cpp | 119 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction(); in create() 799 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction(); in getPrintfFormatArgumentNum() 887 const auto *FDecl = Call.getDecl()->getAsFunction(); in checkTaintedBufferSize()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CallGraph.h | 198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 682 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs() 900 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
|
| H A D | SemaAccess.cpp | 1092 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess() 1788 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess() 1797 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
|
| H A D | SemaAvailability.cpp | 892 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
|
| H A D | SemaLookup.cpp | 3013 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces() 3503 NoteOverloadCandidate(*I, (*I)->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator() 3539 FunctionDecl *OldFD = Old->getAsFunction(); in insert() 3540 FunctionDecl *NewFD = New->getAsFunction(); in insert()
|
| H A D | AnalysisBasedWarnings.cpp | 683 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody()
|
| H A D | SemaDecl.cpp | 1424 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext() 3281 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl() 3301 ->getAsFunction(); in MergeFunctionDecl() 10471 if (D->getAsFunction()->getMultiVersionKind() != MultiVersionKind::None) in PreviousDeclsHaveMultiVersionAttribute() 10592 FunctionDecl *CurFD = ND->getAsFunction(); in CheckMultiVersionAdditionalDecl() 10744 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction() 10754 FunctionDecl *OldFD = OldDecl->getAsFunction(); in CheckMultiVersionFunction() 10892 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration() 14405 if (const FunctionDecl *FD = D->getAsFunction()) { in canSkipFunctionBody() 14420 if (FunctionDecl *FD = Decl->getAsFunction()) in ActOnSkippedFunctionBody() [all …]
|
| H A D | Sema.cpp | 2404 if (const auto *FD = Fn->getAsFunction()) { in noteOverloads()
|
| H A D | SemaCodeComplete.cpp | 919 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType() 2679 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
|
| H A D | SemaDeclAttr.cpp | 3614 FunctionDecl *FD = D->getAsFunction(); in handleCallbackAttr()
|
| H A D | SemaOverload.cpp | 1062 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
|
| H A D | SemaDeclCXX.cpp | 11802 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 1062 FunctionDecl *getAsFunction() LLVM_READONLY; 1064 const FunctionDecl *getAsFunction() const { in getAsFunction() function 1065 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 1549 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker() 1621 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | DeclBase.cpp | 218 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
|
| H A D | ExprCXX.cpp | 1448 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| H A D | Decl.cpp | 1838 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
|
| H A D | ASTContext.cpp | 11037 FunctionDecl *CurFD = CurDecl->getAsFunction()->getMostRecentDecl(); in forEachMultiversionedFunctionVersion() 11653 const FunctionDecl *FD = GD.getDecl()->getAsFunction(); in getFunctionFeatureMap()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 1318 ->getAsFunction() in UpdateMultiVersionNames() 1325 ->getAsFunction() in UpdateMultiVersionNames() 3371 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition() 4627 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()
|