Home
last modified time | relevance | path

Searched refs:Base2 (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx-invalid-function-decl.cpp24 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 Dcxx0x-override-control-keywords.cpp18 struct Base2 { struct
22 struct A : Base2 {
/llvm-project-15.0.7/libcxxabi/test/
H A Dinherited_exception.pass.cpp40 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 Dp4.cpp147 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 Dplugin-call-super.cpp9 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 Dhomogeneous-aggregates.cpp18 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 Dubsan-devirtualized-calls.cpp7 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 Dapple-kext-indirect-call-2.cpp43 struct Base2 { }; struct
45 struct Derived2 : virtual Base2 {
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Dctor-initializer.cpp67 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 Dp8-0x.cpp12 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 Dcode-seg.cpp25 struct Base2 {}; struct
33 struct __declspec(code_seg("my_derived")) D3 : Base2 {};
40 MB<Base2> mb2;
48 MD<Base2> md2;
H A Dnothrow-as-noexcept-ctor.cpp12 struct Base2 { struct
13 Base2() noexcept {} in Base2() function
16 struct Derived2 : Base2 {
H A Dcode-seg1.cpp5 struct Base2 {}; struct
7 struct D1 : Base1, Base2 {};
11 struct __declspec(code_seg("my_derived")) D2 : Base2, Base1 {};
H A Dbase-class-ambiguity-check.cpp13 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 Dmain.cpp23 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 Dforked-pointers.ll32 ; 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 Dreinterpret-cast.cpp28 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 Dpro-type-static-cast-downcast.cpp9 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 Dpro-type-cstyle-cast.cpp32 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 Dannotate-context-sensitive.cpp13 struct Base2 { struct
17 struct Derived2 : Base2 {
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/fuchsia/
H A Dmultiple-inheritance.cpp95 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 DGISelAliasTest.cpp30 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 Duse-override.cpp290 struct Base2 { struct
291 virtual ~Base2() {} in ~Base2() argument
298 struct MembersOfSpecializations : public Base2 {
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-records.cpp256 struct Base2 {}; struct
274 struct Derived4 : Base1, virtual Base2, protected Base3 {
H A Dast-dump-records-json.cpp65 struct Base2 {}; struct
77 struct Derived4 : Base1, virtual Base2, protected Base3 {

123