Searched refs:MemberDecl (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 298 CXXMethodDecl *MemberDecl, in inferCUDATargetForImplicitSpecialMember() argument 305 ContextRAII MethodContext(*this, MemberDecl); in inferCUDATargetForImplicitSpecialMember() 355 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 401 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 409 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 411 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 413 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 414 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 419 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember() 420 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
|
D | SemaExprMember.cpp | 1074 NamedDecl *MemberDecl = R.getFoundDecl(); in BuildMemberReferenceExpr() local 1081 if (MemberDecl->isInvalidDecl()) in BuildMemberReferenceExpr() 1087 if (!MemberDecl->isCXXInstanceMember()) in BuildMemberReferenceExpr() 1088 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), MemberDecl); in BuildMemberReferenceExpr() 1098 if (DiagnoseUseOfDecl(MemberDecl, MemberLoc)) in BuildMemberReferenceExpr() 1101 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr() 1105 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl)) in BuildMemberReferenceExpr() 1109 if (IndirectFieldDecl *FD = dyn_cast<IndirectFieldDecl>(MemberDecl)) in BuildMemberReferenceExpr() 1116 if (VarDecl *Var = dyn_cast<VarDecl>(MemberDecl)) { in BuildMemberReferenceExpr() 1123 if (CXXMethodDecl *MemberFn = dyn_cast<CXXMethodDecl>(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 | 11276 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf() local 11278 if (!MemberDecl) { in BuildBuiltinOffsetOf() 11280 MemberDecl = IndirectMemberDecl->getAnonField(); in BuildBuiltinOffsetOf() 11283 if (!MemberDecl) in BuildBuiltinOffsetOf() 11292 if (MemberDecl->isBitField()) { in BuildBuiltinOffsetOf() 11294 << MemberDecl->getDeclName() in BuildBuiltinOffsetOf() 11296 Diag(MemberDecl->getLocation(), diag::note_bitfield_decl); in BuildBuiltinOffsetOf() 11300 RecordDecl *Parent = MemberDecl->getParent(); in BuildBuiltinOffsetOf() 11311 << MemberDecl->getDeclName() in BuildBuiltinOffsetOf() 11328 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf() [all …]
|
D | SemaOverload.cpp | 1876 if (FieldDecl *MemberDecl = From->getSourceBitField()) { in IsIntegralPromotion() local 1879 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 2358 ValueDecl *MemberDecl; variable 2410 Base(base), MemberDecl(memberdecl), MemberDNLoc(NameInfo.getInfo()), in MemberExpr() 2427 Base(base), MemberDecl(memberdecl), MemberDNLoc(), MemberLoc(l), in MemberExpr() 2448 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() 2449 void setMemberDecl(ValueDecl *D) { MemberDecl = D; } in setMemberDecl() 2579 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 | 278 if (const FunctionDecl *MemberDecl = in adjustDeclToTemplate() local 280 return MemberDecl; in adjustDeclToTemplate() 288 if (const VarDecl *MemberDecl = VD->getInstantiatedFromStaticDataMember()) in adjustDeclToTemplate() local 289 return MemberDecl; in adjustDeclToTemplate() 322 if (const EnumDecl *MemberDecl = ED->getInstantiatedFromMemberEnum()) in adjustDeclToTemplate() local 323 return MemberDecl; in adjustDeclToTemplate()
|
D | ExprConstant.cpp | 7637 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local 7644 unsigned i = MemberDecl->getFieldIndex(); in VisitOffsetOfExpr() 7647 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1951 FieldDecl *MemberDecl = ON.getField(); in VisitOffsetOfExpr() local 1961 if (*Field == MemberDecl) in VisitOffsetOfExpr() 1972 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 5435 bool SetMemberAccessSpecifier(NamedDecl *MemberDecl, 8785 CXXMethodDecl *MemberDecl,
|