Lines Matching defs:MemberDecl
1074 NamedDecl *MemberDecl = R.getFoundDecl();
1081 if (MemberDecl->isInvalidDecl())
1087 if (!MemberDecl->isCXXInstanceMember())
1088 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl);
1098 if (DiagnoseUseOfDecl(MemberDecl, MemberLoc))
1101 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl))
1105 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl))
1109 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl))
1116 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) {
1123 if (CXXMethodDecl *MemberFn = dyn_cast<CXXMethodDecl>(MemberDecl)) {
1138 assert(!isa<FunctionDecl>(MemberDecl) && "member function not C++ method?");
1140 if (EnumConstantDecl *Enum = dyn_cast<EnumConstantDecl>(MemberDecl)) {
1147 if (isa<TypeDecl>(MemberDecl))
1154 Diag(MemberDecl->getLocation(), diag::note_member_declared_here)