Lines Matching refs:MemberDecl
1114 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr() local
1121 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr()
1127 if (!MemberDecl->isCXXInstanceMember()) { in BuildMemberReferenceExpr()
1132 assert((!TemplateArgs || isa<VarTemplateDecl>(MemberDecl)) && in BuildMemberReferenceExpr()
1134 if (isa<VarTemplateDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
1135 MemberDecl = getVarTemplateSpecialization( in BuildMemberReferenceExpr()
1136 *this, cast<VarTemplateDecl>(MemberDecl), TemplateArgs, in BuildMemberReferenceExpr()
1138 if (!MemberDecl) in BuildMemberReferenceExpr()
1141 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl, in BuildMemberReferenceExpr()
1152 if (DiagnoseUseOfDecl(MemberDecl, MemberLoc)) in BuildMemberReferenceExpr()
1155 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
1159 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl)) in BuildMemberReferenceExpr()
1163 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
1170 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
1177 if (CXXMethodDecl *MemberFn = dyn_cast<CXXMethodDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
1192 assert(!isa<FunctionDecl>(MemberDecl) && "member function not C++ method?"); in BuildMemberReferenceExpr()
1194 if (EnumConstantDecl *Enum = dyn_cast<EnumConstantDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
1199 if (VarTemplateDecl *VarTempl = dyn_cast<VarTemplateDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
1210 if (isa<TypeDecl>(MemberDecl)) in BuildMemberReferenceExpr()
1217 Diag(MemberDecl->getLocation(), diag::note_member_declared_here) in BuildMemberReferenceExpr()