Searched refs:MemberDecl (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 227 CXXMethodDecl *MemberDecl, in inferCUDATargetForImplicitSpecialMember() argument 234 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember() 284 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 330 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 338 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 340 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 342 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 343 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 348 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 349 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
|
D | SemaExprMember.cpp | 1114 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr() local 1121 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr() 1127 if (!MemberDecl->isCXXInstanceMember()) { in BuildMemberReferenceExpr() 1132 assert((!TemplateArgs || isa<VarTemplateDecl>(MemberDecl)) && in BuildMemberReferenceExpr() 1134 if (isa<VarTemplateDecl>(MemberDecl)) { in BuildMemberReferenceExpr() 1135 MemberDecl = getVarTemplateSpecialization( in BuildMemberReferenceExpr() 1136 *this, cast<VarTemplateDecl>(MemberDecl), TemplateArgs, in BuildMemberReferenceExpr() 1138 if (!MemberDecl) in BuildMemberReferenceExpr() 1141 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl, in BuildMemberReferenceExpr() 1152 if (DiagnoseUseOfDecl(MemberDecl, MemberLoc)) 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 | 11808 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf() local 11810 if (!MemberDecl) { in BuildBuiltinOffsetOf() 11812 MemberDecl = IndirectMemberDecl->getAnonField(); in BuildBuiltinOffsetOf() 11815 if (!MemberDecl) in BuildBuiltinOffsetOf() 11824 if (MemberDecl->isBitField()) { in BuildBuiltinOffsetOf() 11826 << MemberDecl->getDeclName() in BuildBuiltinOffsetOf() 11828 Diag(MemberDecl->getLocation(), diag::note_bitfield_decl); in BuildBuiltinOffsetOf() 11832 RecordDecl *Parent = MemberDecl->getParent(); in BuildBuiltinOffsetOf() 11843 << MemberDecl->getDeclName() in BuildBuiltinOffsetOf() 11860 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf() [all …]
|
D | SemaOverload.cpp | 1941 if (FieldDecl *MemberDecl = From->getSourceBitField()) { in IsIntegralPromotion() local 1944 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 2326 ValueDecl *MemberDecl; variable 2373 Base(base), MemberDecl(memberdecl), MemberDNLoc(NameInfo.getInfo()), in MemberExpr() 2390 Base(base), MemberDecl(memberdecl), MemberDNLoc(), MemberLoc(l), in MemberExpr() 2411 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() 2412 void setMemberDecl(ValueDecl *D) { MemberDecl = D; } in setMemberDecl() 2504 return DeclarationNameInfo(MemberDecl->getDeclName(), in getMemberNameInfo()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 215 const CXXRecordDecl *MemberDecl = RT->getAsCXXRecordDecl(); in ComputeEmptySubobjectSizes() local 216 const ASTRecordLayout &Layout = Context.getASTRecordLayout(MemberDecl); in ComputeEmptySubobjectSizes() 217 if (MemberDecl->isEmpty()) { in ComputeEmptySubobjectSizes()
|
D | ASTContext.cpp | 279 if (const FunctionDecl *MemberDecl = in adjustDeclToTemplate() local 281 return MemberDecl; in adjustDeclToTemplate() 289 if (const VarDecl *MemberDecl = VD->getInstantiatedFromStaticDataMember()) in adjustDeclToTemplate() local 290 return MemberDecl; in adjustDeclToTemplate() 323 if (const EnumDecl *MemberDecl = ED->getInstantiatedFromMemberEnum()) in adjustDeclToTemplate() local 324 return MemberDecl; in adjustDeclToTemplate()
|
D | ExprConstant.cpp | 7933 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local 7940 unsigned i = MemberDecl->getFieldIndex(); in VisitOffsetOfExpr() 7943 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1938 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local 1948 if (*Field == MemberDecl) in VisitOffsetOfExpr() 1959 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 5559 bool SetMemberAccessSpecifier(NamedDecl *MemberDecl, 9161 CXXMethodDecl *MemberDecl,
|