| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | cxx-invalid-function-decl.cpp | 24 struct Base2 { struct 26 Base2(T a2) : x2(a2) {} in Base2() argument 29 struct S : public Base1<int>, public Base2<float> { 33 …S() : ::Base1<int>(0) ::new, ::Base2<float>(1.0) ::delete x(2) {} // expected-error{{expected clas… in S() 37 …S(int a) : Base1<int>(a), ::Base2<float>(1.0), ::, // expected-error{{expected class member or bas… in S() 38 …::new, ! ::delete, ::Base2<() x(3) {} // expected-error{{expected class member or base class nam… in S() 41 …S(const S &) : Base1<int>(0) ::Base2<float>(1.0) x(2) {} // expected-error2{{missing ',' between b… in S()
|
| H A D | cxx0x-override-control-keywords.cpp | 18 struct Base2 { struct 22 struct A : Base2 {
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | inherited_exception.pass.cpp | 40 struct Base2 { struct 44 struct Child : public Base, public Base2 { argument 61 throw static_cast<Base2&>(child); in f2() 69 throw static_cast<Base2*>(&child); in f3() 115 catch (const Base2& c) in main() 141 catch (const Base2& b) in main() 163 catch (const Base2* c) in main()
|
| /llvm-project-15.0.7/clang/test/CXX/class.access/ |
| H A D | p4.cpp | 147 class Base2 : virtual Base<2> { ~Base2(); }; // expected-note 3 {{declared private here}} \ class 159 Base2, // expected-error {{base class 'test3::Base2' has private destructor}} 170 Base2, // expected-error 2 {{base class 'test3::Base2' has private destructor}} 177 class Base2 : virtual Base<2> { ~Base2(); }; // expected-note 3 {{declared private here}} \ class 189 Base2, // expected-error {{base class 'test3::Base2' has private destructor}} 205 class Base2 : virtual Base<2> { ~Base2(); }; // expected-note 1{{declared private here}} class 216 Base2, // expected-error {{base class 'test3::Base2' has private destructor}} 225 Base2, 232 class Base2 : virtual Base<2> { ~Base2(); }; // expected-note 1{{declared private here}} class 244 Base2, // expected-error {{base class 'test3::Base2' has private destructor}} [all …]
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | plugin-call-super.cpp | 9 struct Base2 { struct 12 struct Derive : public Base1, public Base2 { argument 23 Base2::Test(); in Test() 29 struct Derive2 : public Base1, public Base2 { 32 Base2::Test(); in Test()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | homogeneous-aggregates.cpp | 18 struct Base2 { struct 27 struct D2 : Base2 { // homogeneous aggregate argument 30 struct D3 : Base1, Base2 { // non-homogeneous aggregate 33 struct D4 : Base2, Base3 { // homogeneous aggregate 37 struct I1 : Base2 {}; 38 struct I2 : Base2 {}; 39 struct I3 : Base2 {};
|
| H A D | ubsan-devirtualized-calls.cpp | 7 struct Base2 { struct 15 struct Derived2 final : Base1, Base2 { argument 54 static_cast<Base2 *>(&d2)->f1(); //< Devirt Base2::f1 to Derived2::f1. in t3()
|
| H A D | apple-kext-indirect-call-2.cpp | 43 struct Base2 { }; struct 45 struct Derived2 : virtual Base2 {
|
| /llvm-project-15.0.7/clang/test/CodeCompletion/ |
| H A D | ctor-initializer.cpp | 67 struct Base2 { struct 68 Base2(int); 78 Composition1(Base2); 79 Base2 b2_elem; 83 Composition2() : c1_elem(Base2(1)) {} in Composition2()
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.mem/ |
| H A D | p8-0x.cpp | 12 struct Base2 { struct 17 struct B : Base2 { 40 struct Base2 { struct 44 struct B : Base2 {
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | code-seg.cpp | 25 struct Base2 {}; struct 33 struct __declspec(code_seg("my_derived")) D3 : Base2 {}; 40 MB<Base2> mb2; 48 MD<Base2> md2;
|
| H A D | nothrow-as-noexcept-ctor.cpp | 12 struct Base2 { struct 13 Base2() noexcept {} in Base2() function 16 struct Derived2 : Base2 {
|
| H A D | code-seg1.cpp | 5 struct Base2 {}; struct 7 struct D1 : Base1, Base2 {}; 11 struct __declspec(code_seg("my_derived")) D2 : Base2, Base1 {};
|
| H A D | base-class-ambiguity-check.cpp | 13 struct Base2; // expected-note{{member is declared here}} 15 …struct Derived : Base1, Base2 {}; // expected-error {{implicit instantiation of undefined member '…
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/multiple-inheritance/ |
| H A D | main.cpp | 23 struct Base2 : CommonBase { struct 25 Base2() { in Base2() argument 35 struct FinalClass : Base1, Base2 { argument
|
| /llvm-project-15.0.7/llvm/test/Analysis/LoopAccessAnalysis/ |
| H A D | forked-pointers.ll | 32 ; CHECK-NEXT: (Low: %Base2 High: (400 + %Base2)) 33 ; CHECK-NEXT: Member: {%Base2,+,4}<nw><%loop> 50 %gep.2 = getelementptr inbounds float, ptr %Base2, i64 %iv 90 ; CHECK-NEXT: (Low: %Base2 High: (400 + %Base2)) 91 ; CHECK-NEXT: Member: {%Base2,+,4}<nw><%for.body> 177 ; CHECK-NEXT: (Low: %Base2 High: (800 + %Base2)) 178 ; CHECK-NEXT: Member: {%Base2,+,8}<nw><%for.body> 238 ; CHECK-NEXT: (Low: %Base2 High: (399 + %Base2)) 239 ; CHECK-NEXT: Member: {%Base2,+,4}<nw><%for.body> 299 ; CHECK-NEXT: (Low: %Base2 High: (100 + %Base2)) [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | reinterpret-cast.cpp | 28 class Base2 {}; class 29 class Derived2 : public Base2 {}; 31 void f2(Base2 *foo);
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
| H A D | pro-type-static-cast-downcast.cpp | 9 class Base2 { class 12 class MultiDerived : public Base, public Base2 { 37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
|
| H A D | pro-type-cstyle-cast.cpp | 32 class Base2 { class 35 class MultiDerived : public Base, public Base2 { 60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | annotate-context-sensitive.cpp | 13 struct Base2 { struct 17 struct Derived2 : Base2 {
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/fuchsia/ |
| H A D | multiple-inheritance.cpp | 95 struct Base2 { virtual void foo(); }; struct 96 struct V3 : virtual Base2 {}; 97 struct V4 : virtual Base2 {};
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | GISelAliasTest.cpp | 30 auto Base2 = B.buildIntToPtr(P0, Copies[1]); in TEST_F() local 50 auto VolLd2 = B.buildLoad(S64, Base2, *LoadVolMMO); in TEST_F() 58 auto AtomicLd2 = B.buildLoad(S64, Base2, *LoadAtomicMMO); in TEST_F() 67 auto Store = B.buildStore(B.buildConstant(S64, 0), Base2, PtrInfo, Align()); in TEST_F()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-override.cpp | 290 struct Base2 { struct 291 virtual ~Base2() {} in ~Base2() argument 298 struct MembersOfSpecializations : public Base2 {
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-records.cpp | 256 struct Base2 {}; struct 274 struct Derived4 : Base1, virtual Base2, protected Base3 {
|
| H A D | ast-dump-records-json.cpp | 65 struct Base2 {}; struct 77 struct Derived4 : Base1, virtual Base2, protected Base3 {
|