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