| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | sanitize-dtor-nontrivial-virtual-base.cpp | 23 struct VirtualBase { struct 26 VirtualBase() { in VirtualBase() function 30 virtual ~VirtualBase() {} in ~VirtualBase() argument 33 struct Derived : public Base, public virtual VirtualBase {
|
| H A D | microsoft-abi-member-pointers.cpp | 53 class VirtualBase { class 55 VirtualBase() : Value() {} in VirtualBase() function in pr37399::VirtualBase 63 public virtual VirtualBase{}; 69 public virtual VirtualBase { 72 VirtualBase::Value = 42*3; in Foo() 118 Global = EFunctor.VirtualBase::Value; in VirtualInheritanceFnPtrCall() 120 Global = EFunctor.VirtualBase::Value; in VirtualInheritanceFnPtrCall()
|
| H A D | debug-info.cpp | 68 namespace VirtualBase { namespace
|
| H A D | const-init-cxx11.cpp | 497 namespace VirtualBase { namespace
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.union/ |
| H A D | p1.cpp | 13 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}} 55 …VirtualBase 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()
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | arc-attrs-abi.mm | 7 struct VirtualBase { struct 8 VirtualBase(__attribute__((ns_consumed)) id x, 11 struct WithVirtualBase : virtual VirtualBase { argument 16 : VirtualBase(x, (void *)0) {} function
|
| /llvm-project-15.0.7/compiler-rt/test/msan/ |
| H A D | dtor-multiple-inheritance-nontrivial-class-members.cpp | 18 struct VirtualBase { struct 25 VirtualBase() { in VirtualBase() argument 32 virtual ~VirtualBase() { in ~VirtualBase() argument 41 struct Intermediate : virtual public VirtualBase {
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/ |
| H A D | symbolformat.cpp | 24 struct VirtualBase { struct 27 struct B : public A, protected virtual VirtualBase {
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
| H A D | is_empty.pass.cpp | 65 struct VirtualBase : virtual Empty {}; struct 94 test_is_not_empty<VirtualBase>(); in main()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | sanitize-address-field-padding.cpp | 44 struct VirtualBase { struct 48 class ClassWithVirtualBase : public virtual VirtualBase { argument
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | VTableBuilder.cpp | 42 const CXXRecordDecl *VirtualBase; member 54 : DerivedClass(DerivedClass), VirtualBase(VirtualBase), in BaseOffset() 71 const CXXRecordDecl *VirtualBase; member 225 const CXXRecordDecl *VirtualBase = nullptr; in ComputeBaseOffset() local 234 VirtualBase = VBaseType->getAsCXXRecordDecl(); in ComputeBaseOffset() 430 if (Offset.VirtualBase) { in dump() 1190 if (Offset.VirtualBase) { in ComputeReturnAdjustment() 1227 if (Offset.VirtualBase) { in ComputeThisAdjustmentBaseOffset() 1276 if (Offset.VirtualBase) { in ComputeThisAdjustment() 2886 !Overrider.VirtualBase) in CalculateVtordispAdjustment() [all …]
|
| H A D | CXXInheritance.cpp | 504 void Collect(const CXXRecordDecl *RD, bool VirtualBase, 512 bool VirtualBase, in Collect() argument 516 if (!VirtualBase) in Collect()
|
| H A D | ASTContext.cpp | 641 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) { in getCommentForDecl() local 642 if (!(VirtualBase= VirtualBase->getDefinition())) in getCommentForDecl() 644 if (comments::FullComment *FC = getCommentForDecl((VirtualBase), PP)) in getCommentForDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | undefined-memory-manipulation.cpp | 52 struct VirtualBase : virtual Base { struct 94 types::VirtualBase vb; in notTriviallyCopyable()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 992 bool VirtualBase = true; in DiagnoseReinterpretUpDownCast() local 1027 VirtualBase = VirtualBase && IsVirtual; in DiagnoseReinterpretUpDownCast() 1031 assert((VirtualBase || NonZeroOffset) && in DiagnoseReinterpretUpDownCast() 1041 << DerivedType << BaseType << !VirtualBase << int(ReinterpretKind) in DiagnoseReinterpretUpDownCast() 1675 QualType VirtualBase(Paths.getDetectedVirtual(), 0); in TryStaticDowncast() local 1677 << OrigSrcType << OrigDestType << VirtualBase << OpRange; in TryStaticDowncast()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | TBAAMetadataTest.cpp | 1089 TEST(TBAAMetadataTest, VirtualBase) { in TEST() argument
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGClass.cpp | 1382 const CXXRecordDecl *VirtualBase = in HasTrivialDestructorBody() local 1384 if (!HasTrivialDestructorBody(Context, VirtualBase, in HasTrivialDestructorBody()
|