Home
last modified time | relevance | path

Searched refs:Subobj (Results 1 – 4 of 4) sorted by relevance

/external/clang/test/CodeGenCXX/
Dconst-init-cxx11.cpp249 struct Subobj { struct
254 constexpr int &&so = Subobj{ 1, 2, 3 }.b;
257 struct Derived : Dummy, Subobj {
258 constexpr Derived() : Dummy{200}, Subobj{4, 5, 6} {} in Derived()
267 constexpr Subobj &&base = Derived{};
/external/clang/lib/AST/
DExprConstant.cpp2538 bool found(APValue &Subobj, QualType SubobjType) { in found()
2539 Result = Subobj; in found()
2550 bool foundString(APValue &Subobj, QualType SubobjType, uint64_t Character) { in foundString()
2552 Info, Subobj.getLValueBase().get<const Expr *>(), Character)); in foundString()
2588 bool found(APValue &Subobj, QualType SubobjType) { in found()
2592 Subobj.swap(NewVal); in found()
2612 bool foundString(APValue &Subobj, QualType SubobjType, uint64_t Character) { in foundString()
2977 bool found(APValue &Subobj, QualType SubobjType) { in found()
2978 switch (Subobj.getKind()) { in found()
2980 return found(Subobj.getInt(), SubobjType); in found()
[all …]
DDeclCXX.cpp374 void CXXRecordDecl::addedClassSubobject(CXXRecordDecl *Subobj) { in addedClassSubobject() argument
381 if (!Subobj->hasSimpleMoveConstructor()) in addedClassSubobject()
390 if (!Subobj->hasSimpleMoveAssignment()) in addedClassSubobject()
400 if (!Subobj->hasSimpleDestructor()) { in addedClassSubobject()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp5633 bool shouldDeleteForClassSubobject(CXXRecordDecl *Class, Subobject Subobj,
5635 bool shouldDeleteForSubobjectCall(Subobject Subobj,
5639 bool isAccessible(Subobject Subobj, CXXMethodDecl *D);
5645 bool SpecialMemberDeletionInfo::isAccessible(Subobject Subobj, in isAccessible() argument
5651 if (CXXBaseSpecifier *base = Subobj.dyn_cast<CXXBaseSpecifier*>()) { in isAccessible()
5666 Subobject Subobj, Sema::SpecialMemberOverloadResult *SMOR, in shouldDeleteForSubobjectCall() argument
5669 FieldDecl *Field = Subobj.dyn_cast<FieldDecl*>(); in shouldDeleteForSubobjectCall()
5677 else if (!isAccessible(Subobj, Decl)) in shouldDeleteForSubobjectCall()
5699 CXXBaseSpecifier *Base = Subobj.get<CXXBaseSpecifier*>(); in shouldDeleteForSubobjectCall()
5717 CXXRecordDecl *Class, Subobject Subobj, unsigned Quals) { in shouldDeleteForClassSubobject() argument
[all …]