Home
last modified time | relevance | path

Searched refs:MemberDecl (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Sema/
DSemaExprMember.cpp852 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr() local
859 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr()
865 if (!MemberDecl->isCXXInstanceMember()) in BuildMemberReferenceExpr()
866 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl); in BuildMemberReferenceExpr()
875 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
883 if (ShouldCheckUse && DiagnoseUseOfDecl(MemberDecl, MemberLoc)) { in BuildMemberReferenceExpr()
897 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
901 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
907 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
915 if (CXXMethodDecl *MemberFn = dyn_cast<CXXMethodDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
[all …]
DSemaAccess.cpp38 bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl, in SetMemberAccessSpecifier() argument
43 MemberDecl->setAccess(LexicalAS); in SetMemberAccessSpecifier()
50 Diag(MemberDecl->getLocation(), in SetMemberAccessSpecifier()
52 << MemberDecl << LexicalAS; in SetMemberAccessSpecifier()
56 MemberDecl->setAccess(LexicalAS); in SetMemberAccessSpecifier()
60 MemberDecl->setAccess(PrevMemberDecl->getAccess()); in SetMemberAccessSpecifier()
DSemaExpr.cpp8161 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf() local
8163 if (!MemberDecl) { in BuildBuiltinOffsetOf()
8165 MemberDecl = IndirectMemberDecl->getAnonField(); in BuildBuiltinOffsetOf()
8168 if (!MemberDecl) in BuildBuiltinOffsetOf()
8177 if (MemberDecl->getBitWidth()) { in BuildBuiltinOffsetOf()
8179 << MemberDecl->getDeclName() in BuildBuiltinOffsetOf()
8181 Diag(MemberDecl->getLocation(), diag::note_bitfield_decl); in BuildBuiltinOffsetOf()
8185 RecordDecl *Parent = MemberDecl->getParent(); in BuildBuiltinOffsetOf()
8209 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
8211 CurrentType = MemberDecl->getType().getNonReferenceType(); in BuildBuiltinOffsetOf()
DSemaOverload.cpp1432 if (FieldDecl *MemberDecl = From->getBitField()) { in IsIntegralPromotion() local
1435 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
/external/clang/include/clang/AST/
DExpr.h2007 ValueDecl *MemberDecl; variable
2052 Base(base), MemberDecl(memberdecl), MemberLoc(NameInfo.getLoc()), in MemberExpr()
2069 Base(base), MemberDecl(memberdecl), MemberLoc(l), MemberDNLoc(), in MemberExpr()
2087 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl()
2088 void setMemberDecl(ValueDecl *D) { MemberDecl = D; } in setMemberDecl()
2201 return DeclarationNameInfo(MemberDecl->getDeclName(), in getMemberNameInfo()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp174 const CXXRecordDecl *MemberDecl = cast<CXXRecordDecl>(RT->getDecl()); in ComputeEmptySubobjectSizes() local
175 const ASTRecordLayout &Layout = Context.getASTRecordLayout(MemberDecl); in ComputeEmptySubobjectSizes()
176 if (MemberDecl->isEmpty()) { in ComputeEmptySubobjectSizes()
DExprConstant.cpp1697 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local
1703 unsigned i = MemberDecl->getFieldIndex(); in VisitOffsetOfExpr()
1706 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1465 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local
1475 if (*Field == MemberDecl) in VisitOffsetOfExpr()
1486 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
/external/clang/include/clang/Sema/
DSema.h3500 bool SetMemberAccessSpecifier(NamedDecl *MemberDecl,