Searched refs:getAsFunction (Results 1 – 15 of 15) sorted by relevance
112 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef()113 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef()123 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()175 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()561 LM.D->getAsFunction()->setLateTemplateParsed(false); in ParseLexedMethodDef()
1299 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
1004 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
858 FunctionDecl *getAsFunction() LLVM_READONLY;860 const FunctionDecl *getAsFunction() const { in getAsFunction() function861 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
1079 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()1742 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()1751 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
2359 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces()2795 NoteOverloadCandidate((*I)->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()2827 FunctionDecl *OldFD = Old->getAsFunction(); in insert()2828 FunctionDecl *NewFD = New->getAsFunction(); in insert()
1134 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext()2553 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl()8013 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()10528 if (const FunctionDecl *FD = D->getAsFunction()) in canSkipFunctionBody()10548 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody()
662 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType()2068 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
908 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
7781 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
162 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
614 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl()1597 dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
1314 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
1051 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
6807 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isPureVirtual()6817 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isConst()6827 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isStatic()6837 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isVirtual()