Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExprMember.cpp924 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr() local
931 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr()
937 if (!MemberDecl->isCXXInstanceMember()) in BuildMemberReferenceExpr()
938 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl); in BuildMemberReferenceExpr()
948 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
956 if (ShouldCheckUse && DiagnoseUseOfDecl(MemberDecl, MemberLoc)) { in BuildMemberReferenceExpr()
961 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
965 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
971 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
978 if (CXXMethodDecl *MemberFn = dyn_cast<CXXMethodDecl>(MemberDecl)) { in BuildMemberReferenceExpr()
[all …]
DSemaAccess.cpp39 bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl, in SetMemberAccessSpecifier() argument
44 MemberDecl->setAccess(LexicalAS); in SetMemberAccessSpecifier()
51 Diag(MemberDecl->getLocation(), in SetMemberAccessSpecifier()
53 << MemberDecl << LexicalAS; in SetMemberAccessSpecifier()
57 MemberDecl->setAccess(LexicalAS); in SetMemberAccessSpecifier()
61 MemberDecl->setAccess(PrevMemberDecl->getAccess()); in SetMemberAccessSpecifier()
DSemaExpr.cpp9108 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf() local
9110 if (!MemberDecl) { in BuildBuiltinOffsetOf()
9112 MemberDecl = IndirectMemberDecl->getAnonField(); in BuildBuiltinOffsetOf()
9115 if (!MemberDecl) in BuildBuiltinOffsetOf()
9124 if (MemberDecl->isBitField()) { in BuildBuiltinOffsetOf()
9126 << MemberDecl->getDeclName() in BuildBuiltinOffsetOf()
9128 Diag(MemberDecl->getLocation(), diag::note_bitfield_decl); in BuildBuiltinOffsetOf()
9132 RecordDecl *Parent = MemberDecl->getParent(); in BuildBuiltinOffsetOf()
9156 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()
9158 CurrentType = MemberDecl->getType().getNonReferenceType(); in BuildBuiltinOffsetOf()
DSemaOverload.cpp1743 if (FieldDecl *MemberDecl = From->getBitField()) { in IsIntegralPromotion() local
1746 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
/external/clang/include/clang/AST/
DExpr.h2183 ValueDecl *MemberDecl; variable
2234 Base(base), MemberDecl(memberdecl), MemberDNLoc(NameInfo.getInfo()), in MemberExpr()
2252 Base(base), MemberDecl(memberdecl), MemberDNLoc(), MemberLoc(l), in MemberExpr()
2272 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl()
2273 void setMemberDecl(ValueDecl *D) { MemberDecl = D; } in setMemberDecl()
2403 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()
DASTContext.cpp231 if (const FunctionDecl *MemberDecl = in adjustDeclToTemplate() local
233 return MemberDecl; in adjustDeclToTemplate()
241 if (const VarDecl *MemberDecl = VD->getInstantiatedFromStaticDataMember()) in adjustDeclToTemplate() local
242 return MemberDecl; in adjustDeclToTemplate()
275 if (const EnumDecl *MemberDecl = ED->getInstantiatedFromMemberEnum()) in adjustDeclToTemplate() local
276 return MemberDecl; in adjustDeclToTemplate()
DExprConstant.cpp5240 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local
5247 unsigned i = MemberDecl->getFieldIndex(); in VisitOffsetOfExpr()
5250 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1517 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local
1527 if (*Field == MemberDecl) in VisitOffsetOfExpr()
1538 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
/external/clang/include/clang/Sema/
DSema.h4436 bool SetMemberAccessSpecifier(NamedDecl *MemberDecl,