Searched refs:MemberDecl (Results 1 – 9 of 9) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 852 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 …]
|
D | SemaAccess.cpp | 38 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()
|
D | SemaExpr.cpp | 8161 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()
|
D | SemaOverload.cpp | 1432 if (FieldDecl *MemberDecl = From->getBitField()) { in IsIntegralPromotion() local 1435 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 2007 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/ |
D | RecordLayoutBuilder.cpp | 174 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()
|
D | ExprConstant.cpp | 1697 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/ |
D | CGExprScalar.cpp | 1465 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local 1475 if (*Field == MemberDecl) in VisitOffsetOfExpr() 1486 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3500 bool SetMemberAccessSpecifier(NamedDecl *MemberDecl,
|