/llvm-project/clang/test/CodeGenCXX/ |
H A D | sanitize-dtor-nontrivial-virtual-base.cpp | 23 struct VirtualBase { struct 26 VirtualBase() { in VirtualBase() argument 30 virtual ~VirtualBase() {} in ~VirtualBase() argument 33 struct Derived : public Base, public virtual VirtualBase {
|
H A D | microsoft-abi-member-pointers.cpp | 54 class VirtualBase { class 56 VirtualBase() : Value() {} in VirtualBase() function in pr37399::VirtualBase 59 // CHECK-DAG: %"class.pr37399::VirtualBase" = type { i16 } 64 public virtual VirtualBase{}; 70 public virtual VirtualBase { 73 VirtualBase::Value = 42*3; in Foo() 98 // CHECK-DAG: %"[[FFUNCTOR]]" = type { %"class.pr37399::VirtBaseFunctor.base", %"class.pr37399::VirtualBase" } 101 // CHECK-DAG: %"[[EFUNCTOR]]" = type { %"class.pr37399::VirtBaseFunctor.base", %"class.pr37399::VirtualBase" } 119 Global = EFunctor.VirtualBase::Value; in VirtualInheritanceFnPtrCall() 121 Global = EFunctor.VirtualBase in VirtualInheritanceFnPtrCall() [all...] |
H A D | debug-info.cpp | 74 namespace VirtualBase { namespace
|
H A D | const-init-cxx11.cpp | 509 namespace VirtualBase { namespace
|
/llvm-project/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/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/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/libcxx/test/libcxx/type_traits/ |
H A D | is_trivially_comparable.compile.pass.cpp | 60 struct VirtualBase : virtual S {}; 63 static_assert(!std::__libcpp_is_trivially_equality_comparable<S*, VirtualBase*>::value, ""); 64 static_assert(!std::__libcpp_is_trivially_equality_comparable<S2*, VirtualBase*>::value, ""); 58 struct VirtualBase : virtual S {}; global() struct
|
/llvm-project/llvm/test/DebugInfo/PDB/Inputs/ |
H A D | symbolformat.cpp | 24 struct VirtualBase { struct 27 struct B : public A, protected virtual VirtualBase {
|
/llvm-project/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/clang/test/CodeGen/ |
H A D | sanitize-address-field-padding.cpp | 44 struct VirtualBase { struct 48 class ClassWithVirtualBase : public virtual VirtualBase { argument
|
/llvm-project/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 39 /// VirtualBase - If the path from the derived class to the base class 42 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() 69 /// VirtualBase - The virtual base class subobject of this overrider. 71 const CXXRecordDecl *VirtualBase; member 76 OverriderInfo() : Method(nullptr), VirtualBase(nullpt 225 const CXXRecordDecl *VirtualBase = nullptr; ComputeBaseOffset() local [all...] |
H A D | CXXInheritance.cpp | 507 void Collect(const CXXRecordDecl *RD, bool VirtualBase, 515 bool VirtualBase, in Collect() 519 if (!VirtualBase) in Collect() 512 Collect(const CXXRecordDecl * RD,bool VirtualBase,const CXXRecordDecl * InVirtualSubobject,CXXFinalOverriderMap & Overriders) Collect() argument
|
H A D | JSONNodeDumper.cpp | 1528 case CXXConstructionKind::VirtualBase: in VisitExprWithCleanups()
|
H A D | ASTContext.cpp | 696 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) { in Profile() 697 if (!(VirtualBase= VirtualBase->getDefinition())) in Profile() 699 if (comments::FullComment *FC = getCommentForDecl((VirtualBase), PP)) in Profile() 664 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) { getCommentForDecl() local
|
/llvm-project/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/clang/lib/Sema/ |
H A D | SemaCast.cpp | 1037 bool VirtualBase = true; in DiagnoseReinterpretUpDownCast() 1072 VirtualBase = VirtualBase && IsVirtual; in DiagnoseReinterpretUpDownCast() 1076 assert((VirtualBase || NonZeroOffset) && in DiagnoseReinterpretUpDownCast() 1086 << DerivedType << BaseType << !VirtualBase << int(ReinterpretKind) in DiagnoseReinterpretUpDownCast() 1737 QualType VirtualBase(Paths.getDetectedVirtual(), 0); in TryStaticDowncast() 1739 << OrigSrcType << OrigDestType << VirtualBase << OpRange; in TryStaticDowncast() 1032 bool VirtualBase = true; DiagnoseReinterpretUpDownCast() local 1730 QualType VirtualBase(Paths.getDetectedVirtual(), 0); TryStaticDowncast() local
|
H A D | SemaInit.cpp | 7399 ? CXXConstructionKind::VirtualBase in CheckForNullPointerDereference()
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DynamicTypePropagation.cpp | 276 case CXXConstructionKind::VirtualBase: in checkPreCall() 372 case CXXConstructionKind::VirtualBase: in checkPostCall()
|
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 616 case CXXConstructionKind::VirtualBase: { in handleConstructor() 659 bool IsVirtual = (CK == CXXConstructionKind::VirtualBase); in handleConstructor()
|
H A D | CoreEngine.cpp | 496 case CXXConstructionKind::VirtualBase: { in HandleVirtualBaseBranch()
|
/llvm-project/clang/unittests/CodeGen/ |
H A D | TBAAMetadataTest.cpp | 1094 TEST(TBAAMetadataTest, VirtualBase) { in TEST() 1089 TEST(TBAAMetadataTest,VirtualBase) TEST() argument
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 616 case CXXConstructionKind::VirtualBase: in EmitCXXConstructExpr() 663 case CXXConstructionKind::VirtualBase: in EmitCXXConstructExpr()
|
H A D | CGClass.cpp | 1382 const CXXRecordDecl *VirtualBase = in HasTrivialDestructorBody() local 1384 if (!HasTrivialDestructorBody(Context, VirtualBase, in HasTrivialDestructorBody()
|
/llvm-project/clang/include/clang/AST/ |
H A D | ExprCXX.h | 1541 VirtualBase, enumerator 1780 return ConstructsVirtualBase ? CXXConstructionKind::VirtualBase in getConstructionKind()
|