Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/test/CXX/class/class.union/
H A 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()
/minix/external/bsd/llvm/dist/clang/test/CodeGen/
H A Dsanitize-address-field-padding.cpp42 struct VirtualBase { struct
46 class ClassWithVirtualBase : public virtual VirtualBase { argument
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DVTableBuilder.cpp40 const CXXRecordDecl *VirtualBase; member
52 : DerivedClass(DerivedClass), VirtualBase(VirtualBase), in BaseOffset()
69 const CXXRecordDecl *VirtualBase; member
225 const CXXRecordDecl *VirtualBase = nullptr; in ComputeBaseOffset() local
234 VirtualBase = VBaseType->getAsCXXRecordDecl(); in ComputeBaseOffset()
429 if (Offset.VirtualBase) { in dump()
1204 if (Offset.VirtualBase) { in ComputeReturnAdjustment()
1242 if (Offset.VirtualBase) { in ComputeThisAdjustmentBaseOffset()
1291 if (Offset.VirtualBase) { in ComputeThisAdjustment()
2905 !Overrider.VirtualBase) in CalculateVtordispAdjustment()
[all …]
H A DCXXInheritance.cpp481 void Collect(const CXXRecordDecl *RD, bool VirtualBase,
488 bool VirtualBase, in Collect() argument
492 if (!VirtualBase) in Collect()
H A DASTContext.cpp523 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) { in getCommentForDecl() local
524 if (!(VirtualBase= VirtualBase->getDefinition())) in getCommentForDecl()
526 if (comments::FullComment *FC = getCommentForDecl((VirtualBase), PP)) in getCommentForDecl()
/minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/
H A Ddebug-info.cpp47 namespace VirtualBase { namespace
H A Dconst-init-cxx11.cpp471 namespace VirtualBase { namespace
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaCast.cpp760 bool VirtualBase = true; in DiagnoseReinterpretUpDownCast() local
795 VirtualBase = VirtualBase && IsVirtual; in DiagnoseReinterpretUpDownCast()
799 assert((VirtualBase || NonZeroOffset) && in DiagnoseReinterpretUpDownCast()
809 << DerivedType << BaseType << !VirtualBase << int(ReinterpretKind) in DiagnoseReinterpretUpDownCast()
1299 QualType VirtualBase(Paths.getDetectedVirtual(), 0); in TryStaticDowncast() local
1301 << OrigSrcType << OrigDestType << VirtualBase << OpRange; in TryStaticDowncast()
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGClass.cpp1308 const CXXRecordDecl *VirtualBase = in HasTrivialDestructorBody() local
1310 if (!HasTrivialDestructorBody(Context, VirtualBase, in HasTrivialDestructorBody()