Searched refs:MemberDecl (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 965 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr() local 972 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr() 978 if (!MemberDecl->isCXXInstanceMember()) in BuildMemberReferenceExpr() 979 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl); in BuildMemberReferenceExpr() 989 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MemberDecl)) { in BuildMemberReferenceExpr() 997 if (ShouldCheckUse && DiagnoseUseOfDecl(MemberDecl, MemberLoc)) { in BuildMemberReferenceExpr() 1002 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr() 1006 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl)) in BuildMemberReferenceExpr() 1010 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl)) in BuildMemberReferenceExpr() 1017 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) { in BuildMemberReferenceExpr() [all …]
|
D | SemaAccess.cpp | 39 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()
|
D | SemaExpr.cpp | 9862 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf() local 9864 if (!MemberDecl) { in BuildBuiltinOffsetOf() 9866 MemberDecl = IndirectMemberDecl->getAnonField(); in BuildBuiltinOffsetOf() 9869 if (!MemberDecl) in BuildBuiltinOffsetOf() 9878 if (MemberDecl->isBitField()) { in BuildBuiltinOffsetOf() 9880 << MemberDecl->getDeclName() in BuildBuiltinOffsetOf() 9882 Diag(MemberDecl->getLocation(), diag::note_bitfield_decl); in BuildBuiltinOffsetOf() 9886 RecordDecl *Parent = MemberDecl->getParent(); in BuildBuiltinOffsetOf() 9910 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf() 9912 CurrentType = MemberDecl->getType().getNonReferenceType(); in BuildBuiltinOffsetOf()
|
D | SemaOverload.cpp | 1820 if (FieldDecl *MemberDecl = From->getSourceBitField()) { in IsIntegralPromotion() local 1823 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 2288 ValueDecl *MemberDecl; variable 2339 Base(base), MemberDecl(memberdecl), MemberDNLoc(NameInfo.getInfo()), in MemberExpr() 2357 Base(base), MemberDecl(memberdecl), MemberDNLoc(), MemberLoc(l), in MemberExpr() 2377 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() 2378 void setMemberDecl(ValueDecl *D) { MemberDecl = D; } in setMemberDecl() 2508 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 | ASTContext.cpp | 256 if (const FunctionDecl *MemberDecl = in adjustDeclToTemplate() local 258 return MemberDecl; in adjustDeclToTemplate() 266 if (const VarDecl *MemberDecl = VD->getInstantiatedFromStaticDataMember()) in adjustDeclToTemplate() local 267 return MemberDecl; in adjustDeclToTemplate() 300 if (const EnumDecl *MemberDecl = ED->getInstantiatedFromMemberEnum()) in adjustDeclToTemplate() local 301 return MemberDecl; in adjustDeclToTemplate()
|
D | ExprConstant.cpp | 6830 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local 6837 unsigned i = MemberDecl->getFieldIndex(); in VisitOffsetOfExpr() 6840 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1754 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local 1764 if (*Field == MemberDecl) in VisitOffsetOfExpr() 1775 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4808 bool SetMemberAccessSpecifier(NamedDecl *MemberDecl,
|