Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp113 !(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 DParseTemplate.cpp1635 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
H A DParser.cpp1250 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp262 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in addInstanceOfTransition()
491 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in evalCall()
H A DGenericTaintChecker.cpp119 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 DCallGraph.h198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp682 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()
900 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
H A DSemaAccess.cpp1092 << 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 DSemaAvailability.cpp892 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
H A DSemaLookup.cpp3013 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 DAnalysisBasedWarnings.cpp683 if (D->getAsFunction() && D->getAsFunction()->isCPUDispatchMultiVersion()) in CheckFallThroughForBody()
H A DSemaDecl.cpp1424 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 DSema.cpp2404 if (const auto *FD = Fn->getAsFunction()) { in noteOverloads()
H A DSemaCodeComplete.cpp919 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType()
2679 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
H A DSemaDeclAttr.cpp3614 FunctionDecl *FD = D->getAsFunction(); in handleCallbackAttr()
H A DSemaOverload.cpp1062 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
H A DSemaDeclCXX.cpp11802 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h1062 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 DDeclCXX.cpp1549 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker()
1621 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DDeclBase.cpp218 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
H A DExprCXX.cpp1448 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DDecl.cpp1838 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
H A DASTContext.cpp11037 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 DCodeGenModule.cpp1318 ->getAsFunction() in UpdateMultiVersionNames()
1325 ->getAsFunction() in UpdateMultiVersionNames()
3371 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition()
4627 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()

12