Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp107 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef()
108 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef()
118 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
170 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
551 LM.D->getAsFunction()->setLateTemplateParsed(false); in ParseLexedMethodDef()
H A DParseTemplate.cpp1299 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
H A DParser.cpp1004 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclBase.h857 FunctionDecl *getAsFunction() LLVM_READONLY;
859 const FunctionDecl *getAsFunction() const { in getAsFunction() function
860 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A 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()
H A DSemaLookup.cpp2339 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces()
2775 NoteOverloadCandidate((*I)->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()
2807 FunctionDecl *OldFD = Old->getAsFunction(); in insert()
2808 FunctionDecl *NewFD = New->getAsFunction(); in insert()
H A DSemaDecl.cpp1093 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext()
2483 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl()
7897 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
10428 if (const FunctionDecl *FD = D->getAsFunction()) in canSkipFunctionBody()
10448 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody()
H A DSemaCodeComplete.cpp663 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType()
2069 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
H A DSemaOverload.cpp902 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
H A DSemaDeclCXX.cpp7718 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclBase.cpp162 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
H A DDecl.cpp614 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl()
1544 dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
H A DExprCXX.cpp1318 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DDeclCXX.cpp1051 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp6743 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isPureVirtual()
6753 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isConst()
6763 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isStatic()
6773 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isVirtual()