Lines Matching defs:MemberDecl
965 NamedDecl *MemberDecl = R.getFoundDecl();
972 if (MemberDecl->isInvalidDecl())
978 if (!MemberDecl->isCXXInstanceMember())
979 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl);
989 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MemberDecl)) {
997 if (ShouldCheckUse && DiagnoseUseOfDecl(MemberDecl, MemberLoc)) {
1002 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl))
1006 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl))
1010 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl))
1017 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) {
1024 if (CXXMethodDecl *MemberFn = dyn_cast<CXXMethodDecl>(MemberDecl)) {
1040 assert(!isa<FunctionDecl>(MemberDecl) && "member function not C++ method?");
1042 if (EnumConstantDecl *Enum = dyn_cast<EnumConstantDecl>(MemberDecl)) {
1051 if (isa<TypeDecl>(MemberDecl))
1058 Diag(MemberDecl->getLocation(), diag::note_member_declared_here)