Home
last modified time | relevance | path

Searched refs:VirtualBase (Results 1 – 12 of 12) sorted by relevance

/external/clang/test/CodeGenCXX/
Dsanitize-dtor-nontrivial-virtual-base.cpp23 struct VirtualBase { struct
26 VirtualBase() { in VirtualBase() function
30 virtual ~VirtualBase() {} in ~VirtualBase() argument
33 struct Derived : public Base, public virtual VirtualBase {
Ddebug-info.cpp47 namespace VirtualBase { namespace
Dconst-init-cxx11.cpp481 namespace VirtualBase { namespace
/external/clang/test/CXX/class/class.union/
Dp1.cpp13 class VirtualBase : virtual Okay { // expected-note 4 {{because type 'VirtualBase' has a virtual ba… class
40 VirtualBase vbase; // expected-error {{union member 'vbase' has a non-trivial copy constructor}}
55VirtualBase vbase; // expected-note {{because the function selected to copy field of type 'Virtual…
80 …struct s2 : VirtualBase { // expected-note {{because the function selected to copy base class of t…
127 Either<int,VirtualBase> vbase(0); // expected-note {{in instantiation of template}} in fred()
/external/compiler-rt/test/msan/
Ddtor-multiple-inheritance-nontrivial-class-members.cc18 struct VirtualBase { struct
25 VirtualBase() { in VirtualBase() argument
32 virtual ~VirtualBase() { in ~VirtualBase() argument
41 struct Intermediate : virtual public VirtualBase {
/external/llvm/test/DebugInfo/PDB/Inputs/
Dsymbolformat.cpp24 struct VirtualBase { struct
27 struct B : public A, protected virtual VirtualBase {
/external/clang/test/CodeGen/
Dsanitize-address-field-padding.cpp44 struct VirtualBase { struct
48 class ClassWithVirtualBase : public virtual VirtualBase { argument
/external/clang/lib/AST/
DVTableBuilder.cpp42 const CXXRecordDecl *VirtualBase; member
50 BaseOffset() : DerivedClass(nullptr), VirtualBase(nullptr), in BaseOffset()
53 const CXXRecordDecl *VirtualBase, CharUnits NonVirtualOffset) in BaseOffset()
54 : DerivedClass(DerivedClass), VirtualBase(VirtualBase), in BaseOffset()
57 bool isEmpty() const { return NonVirtualOffset.isZero() && !VirtualBase; } in isEmpty()
71 const CXXRecordDecl *VirtualBase; member
76 OverriderInfo() : Method(nullptr), VirtualBase(nullptr), in OverriderInfo()
209 Overrider.VirtualBase = Method.InVirtualSubobject; in FinalOverriders()
225 const CXXRecordDecl *VirtualBase = nullptr; in ComputeBaseOffset() local
234 VirtualBase = VBaseType->getAsCXXRecordDecl(); in ComputeBaseOffset()
[all …]
DCXXInheritance.cpp468 void Collect(const CXXRecordDecl *RD, bool VirtualBase,
475 bool VirtualBase, in Collect() argument
479 if (!VirtualBase) in Collect()
DASTContext.cpp524 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) { in getCommentForDecl() local
525 if (!(VirtualBase= VirtualBase->getDefinition())) in getCommentForDecl()
527 if (comments::FullComment *FC = getCommentForDecl((VirtualBase), PP)) in getCommentForDecl()
/external/clang/lib/Sema/
DSemaCast.cpp780 bool VirtualBase = true; in DiagnoseReinterpretUpDownCast() local
815 VirtualBase = VirtualBase && IsVirtual; in DiagnoseReinterpretUpDownCast()
819 assert((VirtualBase || NonZeroOffset) && in DiagnoseReinterpretUpDownCast()
829 << DerivedType << BaseType << !VirtualBase << int(ReinterpretKind) in DiagnoseReinterpretUpDownCast()
1339 QualType VirtualBase(Paths.getDetectedVirtual(), 0); in TryStaticDowncast() local
1341 << OrigSrcType << OrigDestType << VirtualBase << OpRange; in TryStaticDowncast()
/external/clang/lib/CodeGen/
DCGClass.cpp1456 const CXXRecordDecl *VirtualBase = in HasTrivialDestructorBody() local
1458 if (!HasTrivialDestructorBody(Context, VirtualBase, in HasTrivialDestructorBody()