/external/clang/test/CodeGenCXX/ |
D | type_visibility.cpp | 24 template <class T> struct TYPE_DEFAULT B { struct 25 virtual void foo() {} in foo() 28 template struct B<A>; variable 41 template <class T> struct TYPE_DEFAULT B { struct 42 virtual void foo() {} in foo() 45 template struct B<A>; variable 58 template <class T> struct B { struct 59 virtual void foo() {} in foo() 62 template struct B<A>; variable 75 template <class T> struct TYPE_DEFAULT B { struct [all …]
|
D | move-assignment.cpp | 7 struct B { struct 17 B b1, b2; in test1() argument
|
D | partial-destruction.cpp | 96 struct B { A x, y, z; int w; }; argument 163 struct B { struct 164 B() {} in B() argument 165 A a;
|
D | stmtexpr.cpp | 15 struct B struct 18 B (const A& a) { i = a.i; } in B() argument 19 B() {printf("this = %p B()\n", this);} in B() argument 20 B (const B &j) : i(j.i) {printf("this = %p const B&(%d)\n", this, i);} in B() function 21 ~B() { printf("this = %p ~B(%d)\n", this, i); } in ~B() argument
|
/external/clang/test/Misc/ |
D | macro-backtrace.c | 4 #define M1(A, B) ((A) < (B)) argument 5 #define M2(A, B) M1(A, B) argument 6 #define M3(A, B) M2(A, B) argument 7 #define M4(A, B) M3(A, B) argument 8 #define M5(A, B) M4(A, B) argument 9 #define M6(A, B) M5(A, B) argument 10 #define M7(A, B) M6(A, B) argument 11 #define M8(A, B) M7(A, B) argument 12 #define M9(A, B) M8(A, B) argument 13 #define M10(A, B) M9(A, B) argument [all …]
|
/external/clang/test/SemaTemplate/ |
D | ms-lookup-template-base-classes.cpp | 12 class B : public A<T> { class 21 template class B<int>; // expected-note {{requested here}} variable 22 template class B<char>; variable 64 class B : public A<T> { class 71 template class B<int>; variable 88 class B : public A<T> { class 95 template class B<int>; // expected-note {{requested here}} variable 111 class B : public A<T> { class 130 class B { class 174 class B {}; class [all …]
|
D | lookup-dependent-bases.cpp | 13 struct B : A<T> { struct 14 void foo() { in foo() 19 template struct B<int>; // Instantiation has no warnings. variable 28 struct B : T { struct 29 struct C { 36 template struct B<A>; // Instantiation has no warnings. variable 46 struct B { struct 47 struct C : T { 54 template struct B<A>; // Instantiation has no warnings. variable
|
D | instantiate-partial-spec.cpp | 8 template<typename T> template<typename U> struct A<T>::B<U*> {}; struct in A 13 template<typename T> struct B { struct 19 template<typename T> template<typename U> const int B<T>::var1<U*> = 1; argument 21 template struct B<int>; variable
|
D | instantiate-self.cpp | 7 struct B { // expected-note {{not complete until the closing '}'}} struct 8 B b; // expected-error {{has incomplete type 'test1::A<int>::B'}} 17 struct B { struct 18 struct C {}; 19 char c[1 + C()]; // expected-error {{invalid operands to binary expression}} 30 struct B { struct 31 enum { Val = 1 }; 32 char c[1 + Val]; // ok 42 struct B { // expected-note {{not complete until the closing '}'}} struct 43 int k[typename A<typename M<T>::type>::B().k[0] + 1]; // expected-error {{incomplete type}}
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/ |
D | uninitialized_fill.pass.cpp | 20 struct B struct 24 explicit B() : data_(1) {} in B() argument 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() argument 26 ~B() {data_ = 0;} in ~B() argument
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
D | uninitialized_fill_n.pass.cpp | 19 struct B struct 23 explicit B() : data_(1) {} in B() argument 24 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() function 25 ~B() {data_ = 0;} in ~B() argument
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/ |
D | uninitialized_copy.pass.cpp | 20 struct B struct 24 explicit B() : data_(1) {} in B() argument 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() argument 26 ~B() {data_ = 0;} in ~B() argument
|
D | uninitialized_copy_n.pass.cpp | 20 struct B struct 24 explicit B() : data_(1) {} in B() argument 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B() function 26 ~B() {data_ = 0;} in ~B() argument
|
/external/clang/INPUTS/ |
D | macro_pounder_fn.c | 6 #define A0(A, B) A B argument 7 #define A1(A, B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) argument 8 #define A2(A, B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) argument 9 #define A3(A, B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) argument 10 #define A4(A, B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) argument 11 #define A5(A, B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) argument 12 #define A6(A, B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) argument 13 #define A7(A, B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) argument 14 #define A8(A, B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) argument
|
/external/clang/test/CXX/class.derived/class.virtual/ |
D | p3-0x.cpp | 5 struct B { struct 22 struct B : A { struct 41 struct B : A { struct 45 template struct B<int, char, int>; variable 46 template struct B<int>; // expected-note {{in instantiation of template class 'Test3::B<int>' reque… variable 51 struct B { struct 70 template<typename T> struct B : X { struct 106 struct B {}; struct 112 template<> struct A<int>::B { struct in MemberOfUnknownSpecialization::A 118 template<> struct A<char>::B { struct in MemberOfUnknownSpecialization::A [all …]
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
D | reset.pass.cpp | 19 struct B struct 23 B() {++count;} in B() function 24 B(const B&) {++count;} in B() argument 25 virtual ~B() {--count;} in ~B() argument
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
D | move_convert05.fail.cpp | 36 struct B struct 40 B() {++count;} in B() function 41 B(const B&) {++count;} in B() function 42 virtual ~B() {--count;} in ~B() argument
|
D | move_convert04.fail.cpp | 34 struct B struct 38 B() {++count;} in B() function 39 B(const B&) {++count;} in B() argument 40 virtual ~B() {--count;} in ~B() argument
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
D | shared_ptr_Y.pass.cpp | 20 struct B struct 24 B() {++count;} in B() argument 25 B(const B&) {++count;} in B() argument 26 virtual ~B() {--count;} in ~B() argument
|
/external/clang/test/CXX/class.access/class.access.dcl/ |
D | p1.cpp | 45 struct B : A { struct 52 void test0() { in test0() 56 void test1() { in test1() 61 void test2() { in test2() 65 void test3() { in test3() 69 void test4() { in test4() 73 void test5() { in test5() 88 template <class T> struct B : A { struct 95 void test0() { in test0() 99 void test1() { in test1() [all …]
|
/external/libcxxabi/test/ |
D | catch_class_02.pass.cpp | 14 struct B struct 18 explicit B(int id) : id_(id) {count++;} in B() function 19 B(const B& a) : id_(a.id_) {count++;} in B() function 20 ~B() {count--;} in ~B() argument
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/ |
D | move_convert04.fail.cpp | 32 struct B struct 36 B() {++count;} in B() argument 37 B(const B&) {++count;} in B() function 38 virtual ~B() {--count;} in ~B() argument
|
D | move_convert08.fail.cpp | 32 struct B struct 36 B() {++count;} in B() argument 37 B(const B&) {++count;} in B() argument 38 virtual ~B() {--count;} in ~B() argument
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
D | move_convert02.pass.cpp | 32 struct B struct 36 B() {++count;} in B() function 37 B(const B&) {++count;} in B() function 38 virtual ~B() {--count;} in ~B() argument
|
D | move_convert01.pass.cpp | 30 struct B struct 34 B() {++count;} in B() argument 35 B(const B&) {++count;} in B() function 36 virtual ~B() {--count;} in ~B() argument
|