Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp112 !(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()
DParseTemplate.cpp1299 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
DParser.cpp1004 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/external/clang/include/clang/AST/
DDeclBase.h858 FunctionDecl *getAsFunction() LLVM_READONLY;
860 const FunctionDecl *getAsFunction() const { in getAsFunction() function
861 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
/external/clang/lib/Sema/
DSemaAccess.cpp1079 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()
1742 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()
1751 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
DSemaLookup.cpp2359 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()
DSemaDecl.cpp1134 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()
DSemaCodeComplete.cpp662 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType()
2068 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
DSemaOverload.cpp908 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
DSemaDeclCXX.cpp7781 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
/external/clang/lib/AST/
DDeclBase.cpp162 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
DDecl.cpp614 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl()
1597 dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
DExprCXX.cpp1314 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
DDeclCXX.cpp1051 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
/external/clang/tools/libclang/
DCIndex.cpp6807 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()