Lines Matching defs:MemberDecl
1025 NamedDecl *MemberDecl = R.getFoundDecl();
1032 if (MemberDecl->isInvalidDecl())
1038 if (!MemberDecl->isCXXInstanceMember())
1039 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl);
1049 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MemberDecl)) {
1057 if (ShouldCheckUse && DiagnoseUseOfDecl(MemberDecl, MemberLoc))
1060 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl))
1064 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl))
1068 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl))
1075 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) {
1082 if (CXXMethodDecl *MemberFn = dyn_cast<CXXMethodDecl>(MemberDecl)) {
1097 assert(!isa<FunctionDecl>(MemberDecl) && "member function not C++ method?");
1099 if (EnumConstantDecl *Enum = dyn_cast<EnumConstantDecl>(MemberDecl)) {
1106 if (isa<TypeDecl>(MemberDecl))
1113 Diag(MemberDecl->getLocation(), diag::note_member_declared_here)