Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DProgramPoint.cpp104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
/netbsd-src/external/apache2/llvm/dist/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.cpp1247 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCallGraph.h198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCUDA.cpp648 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()
857 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
H A DSemaAccess.cpp1092 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()
1787 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()
1796 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
H A DSemaAvailability.cpp905 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.cpp1411 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext()
3228 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl()
10412 if (D->getAsFunction()->getMultiVersionKind() != MultiVersionKind::None) in PreviousDeclsHaveMultiVersionAttribute()
10533 FunctionDecl *CurFD = ND->getAsFunction(); in CheckMultiVersionAdditionalDecl()
10685 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction()
10695 FunctionDecl *OldFD = OldDecl->getAsFunction(); in CheckMultiVersionFunction()
10833 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
14349 if (const FunctionDecl *FD = D->getAsFunction()) { in canSkipFunctionBody()
14364 if (FunctionDecl *FD = Decl->getAsFunction()) in ActOnSkippedFunctionBody()
14422 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody()
H A DSema.cpp2334 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.cpp3529 FunctionDecl *FD = D->getAsFunction(); in handleCallbackAttr()
H A DSemaOverload.cpp1062 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp8530 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isDefaultConstructor()
8540 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isCopyConstructor()
8550 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isMoveConstructor()
8560 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isConvertingConstructor()
8581 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isPureVirtual()
8591 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isConst()
8601 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isDefaulted()
8611 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isStatic()
8621 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isVirtual()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp1540 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker()
1612 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DDeclBase.cpp218 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
H A DExprCXX.cpp1447 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.cpp10990 FunctionDecl *CurFD = CurDecl->getAsFunction()->getMostRecentDecl(); in forEachMultiversionedFunctionVersion()
11579 const FunctionDecl *FD = GD.getDecl()->getAsFunction(); in getFunctionFeatureMap()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp1288 ->getAsFunction() in UpdateMultiVersionNames()
1295 ->getAsFunction() in UpdateMultiVersionNames()
3341 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition()
4597 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()

12