Searched refs:getAsFunction (Results 1 - 16 of 16) sorted by relevance

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp116 !(FnD && FnD->getAsFunction() &&
117 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) &&
127 FunctionDecl *FD = FnD->getAsFunction();
179 FunctionDecl *FD = FnD->getAsFunction();
565 LM.D->getAsFunction()->setLateTemplateParsed(false);
H A DParseTemplate.cpp1336 FunctionDecl *FunD = LPT.D->getAsFunction();
H A DParser.cpp1057 FunctionDecl *FnD = DP->getAsFunction();
/external/clang/include/clang/AST/
H A DDeclBase.h913 FunctionDecl *getAsFunction() LLVM_READONLY;
915 const FunctionDecl *getAsFunction() const { function
916 return const_cast<Decl *>(this)->getAsFunction();
/external/clang/lib/Sema/
H A DSemaCUDA.cpp457 FunctionDecl *OldD = D->getAsFunction();
H A DSemaAccess.cpp1079 << isa<CXXDestructorDecl>(D->getAsFunction());
1754 assert(isa<CXXMethodDecl>(target->getAsFunction()));
1763 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction());
H A DSemaLookup.cpp2769 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction();
3201 NoteOverloadCandidate(*I, (*I)->getUnderlyingDecl()->getAsFunction());
3233 FunctionDecl *OldFD = Old->getAsFunction();
3234 FunctionDecl *NewFD = New->getAsFunction();
H A DSemaDecl.cpp1193 FunctionDecl *FD = D->getAsFunction();
2742 FunctionDecl *Old = OldD->getAsFunction();
8738 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction());
11420 if (const FunctionDecl *FD = D->getAsFunction())
11440 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr;
H A DSemaCodeComplete.cpp679 if (const FunctionDecl *Function = ND->getAsFunction())
2084 if (const FunctionDecl *Function = ND->getAsFunction())
H A DSemaDeclCXX.cpp7980 if (FunctionDecl *FD = Target->getAsFunction()) {
H A DSemaOverload.cpp958 if (FunctionDecl *OldF = OldD->getAsFunction()) {
/external/clang/tools/libclang/
H A DCIndex.cpp7443 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr;
7453 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr;
7463 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr;
7473 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr;
7494 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr;
7504 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr;
7514 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr;
7524 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr;
7534 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr;
/external/clang/lib/AST/
H A DDeclBase.cpp188 FunctionDecl *Decl::getAsFunction() { function in class:Decl
H A DExprCXX.cpp1201 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction())
H A DDecl.cpp622 } else if (const FunctionDecl *Function = D->getAsFunction()) {
1626 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()))
H A DDeclCXX.cpp1101 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction())

Completed in 404 milliseconds