/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | ProgramPoint.cpp | 104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson() 113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
|
/netbsd-src/external/apache2/llvm/dist/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 | 1247 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 648 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs() 857 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
|
H A D | SemaAccess.cpp | 1092 << 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 D | SemaAvailability.cpp | 905 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 | 1411 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 D | Sema.cpp | 2334 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 | 3529 FunctionDecl *FD = D->getAsFunction(); in handleCallbackAttr()
|
H A D | SemaOverload.cpp | 1062 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CIndex.cpp | 8530 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 D | DeclCXX.cpp | 1540 cast<ValueDecl>(ND->getAsFunction())->getType()->castAs<FunctionType>(); in getLambdaStaticInvoker() 1612 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 | 1447 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 | 10990 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 D | CodeGenModule.cpp | 1288 ->getAsFunction() in UpdateMultiVersionNames() 1295 ->getAsFunction() in UpdateMultiVersionNames() 3341 ExistingDecl.getDecl()->getAsFunction()->isDefined()) { in emitCPUDispatchDefinition() 4597 if (const auto *FD = D->getAsFunction()) in getLLVMLinkageForDeclarator()
|