Home
last modified time | relevance | path

Searched refs:Subobj (Results 1 – 8 of 8) 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/llvm-project/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/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp7529 Result visitSubobject(QualType Type, Subobject Subobj) { in visitSubobject() argument
7534 CAT->getSize(), Subobj); in visitSubobject()
7535 return getDerived().visitExpandedSubobject(Type, Subobj); in visitSubobject()
7539 Subobject Subobj) { in visitSubobjectArray() argument
7540 return getDerived().visitSubobject(Type, Subobj); in visitSubobjectArray()
7636 Result visitExpandedSubobject(QualType Type, Subobject Subobj) { in visitExpandedSubobject() argument
7642 S.Diag(Subobj.Loc, diag::note_defaulted_comparison_reference_member) in visitExpandedSubobject()
7655 return visitBinaryOperator(OO, Args, Subobj); in visitExpandedSubobject()
7660 Subobject Subobj, in visitBinaryOperator() argument
7714 QualType ObjectType = Subobj.Kind == Subobject::Member in visitBinaryOperator()
[all …]
/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/llvm-project/clang/lib/AST/
DDeclCXX.cpp502 void CXXRecordDecl::addedClassSubobject(CXXRecordDecl *Subobj) { in addedClassSubobject() argument
509 if (!Subobj->hasSimpleCopyConstructor()) in addedClassSubobject()
511 if (!Subobj->hasSimpleMoveConstructor()) in addedClassSubobject()
520 if (!Subobj->hasSimpleCopyAssignment()) in addedClassSubobject()
522 if (!Subobj->hasSimpleMoveAssignment()) in addedClassSubobject()
532 if (!Subobj->hasSimpleDestructor()) { in addedClassSubobject()
543 if (!Subobj->hasConstexprDestructor()) in addedClassSubobject()
550 if (!Subobj->data().StructuralIfLiteral) in addedClassSubobject()
DExprConstant.cpp3795 bool found(APValue &Subobj, QualType SubobjType) { in found()
3796 Result = Subobj; in found()
3841 bool found(APValue &Subobj, QualType SubobjType) { in found()
3845 Subobj.swap(NewVal); in found()
4296 bool found(APValue &Subobj, QualType SubobjType) { in found()
4297 switch (Subobj.getKind()) { in found()
4299 return found(Subobj.getInt(), SubobjType); in found()
4301 return found(Subobj.getFloat(), SubobjType); in found()
4308 return foundPointer(Subobj, SubobjType); in found()
4310 return foundVector(Subobj, SubobjType); in found()
[all …]
/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 …]