Home
last modified time | relevance | path

Searched refs:B2 (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-enum-compare.cpp13 enum Baz {B1, B2, B3}; enumerator
17 enum Baz {B1, B2, B3}; enumerator
22 using name2::B2;
40 while (z == name1::B2); in test()
44 while (B1 == name1::B2); in test()
45 while (B2 == name2::B1); in test()
57 while (z == (name1::B2)); in test()
61 while ((B1) == (name1::B2)); in test()
62 while ((B2) == (name2::B1)); in test()
67 while (z == (name1::B2)); in test()
[all …]
H A Dnested-name-spec.cpp328 struct B2 { struct
335 enum E1 { B2 = 2 }; enumerator
353 int g : B1::B2;
356 int g : B1:B2; // expected-error{{unexpected ':' in nested name specifier; did you mean '::'?}}
368 int f(int xx[B1::B3 ? C2::N1 : B1::B2]);
379 C1::C2 m1 : B1::B2;
392 C1::C2 : B1:B2; // expected-error{{unexpected ':' in nested name specifier; did you mean '::'?}}
405 int (*X1)() = (B1::B2 ? F<1> : F<2>);
410 T1<B1::B2>::C1 m1 : T1<B1::B2>::N1;
413 …T1<B1:B2>::C1 m1 : T1<B1::B2>::N1; // expected-error{{unexpected ':' in nested name specifier; di…
[all …]
/llvm-project-15.0.7/clang/test/CXX/class/class.init/class.copy.elision/
H A Dp3.cpp40 struct B2 { struct
41 B2(C &);
46 B2 test4() { in test4()
81 struct B2 { struct
82 B2(const B2 &);
87 B2 test4(B2 &&b) { in test4()
189 B2 b; in test4()
200 struct B2;
294 B2();
295 B2(const B2 &);
[all …]
/llvm-project-15.0.7/clang/test/CXX/special/class.inhctor/
H A Dp7.cpp9 struct B2 { struct
10 B2(int); // expected-note {{candidate}}
12 struct D1 : B1, B2 {
14 using B2::B2; // expected-note {{inherited here}}
16 struct D2 : B1, B2 {
18 using B2::B2;
H A Dp3.cpp17 struct B2 { struct
18 explicit B2(int, int = 0, int = 0); // expected-note {{not a candidate}}
20 struct D2 : B2 { // expected-note 2{{candidate constructor}}
21 using B2::B2;
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dwindows-seh-EHa-CppCondiTemps.cpp54 class B2 : public B1 { class
56 B2() { foo(data + 222); } in B2() function in B2
57 ~B2() { printf("in B2 Dtor \n");; } in ~B2()
59 class B3 : public B2 {
65 int bar(int j, class B1 b1Bar, class B2 b2Bar) in bar()
77 class B2 b2ingoo; in goo()
116 int m = (xxxx > 1) ? B2().data + foo(99) : in main()
121 int i = bar(foo(0), B1(), B2()); in main()
/llvm-project-15.0.7/clang/test/Layout/
H A Dms-x86-empty-virtual-base.cpp10 struct __declspec(align(8)) B2 { B2() {printf("B2 : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} }; in B2() function
63 struct C : virtual B0, virtual B1, virtual B2, virtual B3, virtual B4 {
252 struct I : virtual B0, virtual B1, virtual B2, virtual B3, virtual B4 {
304 struct K : virtual D1, virtual B1, virtual B2, virtual B3, virtual B4 {
330 struct L : virtual B1, virtual D1, virtual B2, virtual B3, virtual B4 {
356 struct M : virtual B1, virtual B2, virtual D1, virtual B3, virtual B4 {
382 struct N : virtual C0, virtual B1, virtual D1, virtual B2, virtual B3, virtual B4 {
412 struct O : virtual C0, virtual B1, virtual B2, virtual D1, virtual B3, virtual B4 {
442 struct P : virtual B1, virtual C0, virtual D1, virtual B2, virtual B3, virtual B4 {
472 struct Q : virtual B1, virtual C0, virtual B2, virtual D1, virtual B3, virtual B4 {
[all …]
H A Dms-x86-aligned-tail-padding.cpp16 struct B2 { struct
18 B2() : a(0xf00000B2) {} in B2() argument
72 struct A : B1, B0, B2, virtual V {
104 struct B : B2, B0, B1, virtual V {
167 struct D : B2, B0, virtual V {
298 B2 a;
H A Dms-x86-empty-nonvirtual-bases.cpp10 struct __declspec(align(8)) B2 { B2() {printf("B2 : %p\n", this);} }; in B2() struct
44 struct C : B0, B1, B2, B3, B4 {
116 struct G : B0, B1, B2, B3, B4 {
131 struct __declspec(align(32)) H : B0, B1, B2, B3, B4 {
/llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.compare.default/
H A Dp2.cpp60 struct B2 { struct
66 bool operator==(const B2&) const; argument
67 bool operator!=(const B2&) const = default;
69 bool operator<=>(const B2&) const;
70 bool operator<(const B2&) const = default;
71 bool operator<=(const B2&) const = default;
72 bool operator>(const B2&) const = default;
73 bool operator>=(const B2&) const = default;
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp15.cpp7 struct B2 { struct
8 B2(int); // expected-note {{candidate}}
11 struct D1 : B1, B2 {
13 using B2::B2; // expected-note {{inherited here}}
17 struct D2 : B1, B2 {
19 using B2::B2;
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/JITLink/
H A DLinkGraphTests.cpp392 G.addDefinedSymbol(B2, 0, "S3", B2.getSize(), Linkage::Strong, Scope::Default, in TEST()
394 G.addDefinedSymbol(B2, 1, "S4", B2.getSize() - 1, Linkage::Strong, in TEST()
437 G.addDefinedSymbol(B2, 0, "S2", B2.getSize(), Linkage::Strong, Scope::Default, in TEST()
443 EXPECT_EQ(&B2.getSection(), &Sec2); in TEST()
475 EXPECT_EQ(&B2.getSection(), &Sec1) in TEST()
544 auto &B2 = G.splitBlock(B1, 8); in TEST() local
557 EXPECT_EQ(&S1.getBlock(), &B2); in TEST()
560 EXPECT_EQ(&S2.getBlock(), &B2); in TEST()
569 EXPECT_EQ(&S5.getBlock(), &B2); in TEST()
587 if (size(B2.edges()) == 2) { in TEST()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dinfinite-loop-postdom.ll13 br i1 %f, label %B1, label %B2
17 br label %B2
19 B2:
30 br i1 %f.not, label %B2, label %B1
34 br label %B2
36 B2:
49 br i1 %f, label %B1, label %B2
51 B2:
56 br label %B2
68 B2:
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dconst-init-cxx11.cpp139 struct B2 { struct
149 struct D : C, B2 {
163 extern constexpr int (D::*dc) = &B2::c;
177 extern constexpr int (B2::*bc) = (int(B2::*))&B2::c;
178 extern constexpr int (B2::*bd) = (int(B2::*))&D::d;
181 extern constexpr int (B2::*b2z) = (int(B2::*))&D::z;
193 extern constexpr void (D::*dh)() = &B2::h;
212 extern constexpr void (B2::*bh)() = (void(B2::*)())&B2::h;
213 extern constexpr void (B2::*bi)() = (void(B2::*)())&D::i;
218 extern constexpr void (B2::*b2l)() = (void(B2::*)())&D::l;
[all …]
H A Dmangle-ms-back-references-pr13207.cpp225 using B2 = Food<B1, B0, B0, B0, B0, B0, B0, B0, B0, B0, B1, B1, B1, B1, B1, B1, B1, B1, B1, B1>; typedef
226 using B3 = Food<B2, B1, B0, B0, B0, B0, B0, B0, B0, B0, B2, B2, B2, B2, B2, B2, B2, B2, B2, B2>;
227 using B4 = Food<B3, B2, B1, B0, B0, B0, B0, B0, B0, B0, B3, B3, B3, B3, B3, B3, B3, B3, B3, B3>;
228 using B5 = Food<B4, B3, B2, B1, B0, B0, B0, B0, B0, B0, B4, B4, B4, B4, B4, B4, B4, B4, B4, B4>;
229 using B6 = Food<B5, B4, B3, B2, B1, B0, B0, B0, B0, B0, B5, B5, B5, B5, B5, B5, B5, B5, B5, B5>;
H A Dcopy-assign-synthesis-1.cpp9 B() : B1(3.14), B2(3.15), auB2(3.16) {} in B()
11 float B2; member
13 printf("B1 = %f B2 = %f auB1 = %f\n", B1, B2, auB1); in pr()
16 B& operator=(const B& arg) { B1 = arg.B1; B2 = arg.B2; in operator =()
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.rel/
H A Dis_base_of.pass.cpp40 struct B2 : B {}; struct
41 struct D : private B1, private B2 {};
48 test_is_base_of<B2, D>(); in main()
50 test_is_base_of<B, B2>(); in main()
61 test_is_not_base_of<int, B2>(); in main()
68 test_is_not_base_of<B2, int>(); in main()
H A Dis_base_of_union.pass.cpp40 struct B2 : B {}; struct
41 struct D : private B1, private B2 {};
52 test_is_not_base_of<U0, B2>(); in main()
56 test_is_not_base_of<U1, B2>(); in main()
69 test_is_not_base_of<B2, U0>(); in main()
73 test_is_not_base_of<B2, U1>(); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dtemplate-param-objects.cpp24 template <Box A1, Box A2, Box B1, Box B2> void stable_addresses() { in stable_addresses()
26 clang_analyzer_eval(&B1 == &B2); // expected-warning {{UNKNOWN}} FIXME: It should be TRUE. in stable_addresses()
27 clang_analyzer_eval(&A1 == &B2); // expected-warning {{UNKNOWN}} FIXME: It should be FALSE. in stable_addresses()
30 clang_analyzer_eval(B1 == B2); // expected-warning {{UNKNOWN}} FIXME: It should be TRUE. in stable_addresses()
31 clang_analyzer_eval(A1 == B2); // expected-warning {{UNKNOWN}} FIXME: It should be FALSE. in stable_addresses()
H A Dcast-to-struct.cpp47 Base B2; in structToStruct() local
48 …D2 = (Derived *)&B2;// expected-warning {{Casting data to a larger structure type and accessing a … in structToStruct()
49 …D2 = dynamic_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type an… in structToStruct()
50 …D2 = static_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type and… in structToStruct()
54 Base *B3 = &B2; in structToStruct()
/llvm-project-15.0.7/clang/test/CXX/except/except.spec/
H A Dp5-virtual.cpp13 struct B2 : A struct
17 struct D : B1, B2
68 virtual void f5() throw(B1, B2, int);
69 virtual void f6() throw(B2, B2, int, float, char, double, bool);
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCasting.cpp143 extern const bar *B2;
146 const bar *const B4 = B2;
150 EXPECT_TRUE(isa<foo>(B2)); in TEST()
156 EXPECT_TRUE(isa_and_nonnull<foo>(B2)); in TEST()
164 const foo *F3 = cast<foo>(B2); in TEST()
166 const foo *F4 = cast<foo>(B2); in TEST()
178 std::unique_ptr<const bar> BP(B2); in TEST()
204 const foo *F1 = dyn_cast<foo>(B2); in TEST()
206 const foo *F2 = dyn_cast<foo>(B2); in TEST()
313 EXPECT_NE(nullptr, B2); in TEST()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenOpenCLCXX/
H A Daddrspace-derived-base.clcpp28 class B2 {
35 class Derived : public B, public B2 {
39 // CHECK: bitcast i8 addrspace(4)* %add.ptr to %class.B2 addrspace(4)*
62 // CHECK: bitcast i8 addrspace(4)* %add.ptr to %class.B2 addrspace(4)*
69 // CHECK: bitcast i8 addrspace(4)* %add.ptr1 to %class.B2 addrspace(4)*
75 void functionWithBaseArgPtr(class B2 *b) {}
76 void functionWithBaseArgRef(class B2 &b) {}
/llvm-project-15.0.7/llvm/test/Transforms/FixIrreducible/
H A Dnested.ll12 ; CHECK: B2:
31 br i1 %Pred1, label %B1, label %B2
34 br i1 %Pred2, label %B2, label %A3
36 B2:
59 ; CHECK: B2:
83 br i1 %Pred1, label %B1, label %B2
88 B2:
203 ; CHECK: B2:
241 B2:
270 ; CHECK: B2:
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Mem2Reg/
H A D2003-04-24-MultipleIdenticalSuccessors.ll8 br i1 %c1, label %Exit, label %B2
9 B2: ; preds = %0
12 Exit: ; preds = %B2, %B2, %0

12345678910>>...12