/external/clang/test/CodeGenCXX/ |
D | uncopyable-args.cpp | 6 struct A { struct 14 // CHECK: alloca %"struct.trivial::A" 23 struct A { struct 34 // CHECK: alloca %"struct.default_ctor::A" 46 struct A { struct 59 // CHECK-DISABLED: call void @_ZN9move_ctor3fooENS_1AE(%"struct.move_ctor::A"* %{{.*}}) 66 struct A { struct 80 // CHECK-DISABLED: call void @_ZN11all_deleted3fooENS_1AE(%"struct.all_deleted::A"* %{{.*}}) 87 struct A { struct 100 // CHECK-DISABLED: call void @_ZN18implicitly_deleted3fooENS_1AE(%"struct.implicitly_deleted::A"* %… [all …]
|
D | skip-vtable-pointer-initialization.cpp | 8 struct A { struct 24 struct A { struct 45 struct A { struct 49 Field field; 71 struct A { struct 75 Field field; 95 struct A { struct 99 Field field; 123 struct A { struct 127 Field field; [all …]
|
D | new-overflow.cpp | 7 struct A { struct 9 int x; 29 struct A { struct 31 int x; 52 struct A { struct 55 int x; 80 struct A { struct 99 struct A { struct 118 struct A { struct 120 int x; [all …]
|
/external/clang/test/CodeGenObjCXX/ |
D | microsoft-abi-arc-param-order.mm | 3 struct A { struct 4 A(); argument 5 A(const A &); argument 6 ~A(); field 13 // CHECK: (<{ %struct.A, i8*, %struct.A, i8* }>* inalloca) argument 14 void test_arc_order(A a, id __attribute__((ns_consumed)) b , A c, id __attribute__((ns_consumed)) d… argument
|
/external/clang/test/SemaCXX/ |
D | class-base-member-init.cpp | 20 struct A { struct 25 A(); argument 28 A::A() : a(10), b(20) { } in A() function in A 31 template<typename T> struct A {}; struct 40 template<typename T> struct A : T { struct 41 A() : T(), // expected-note {{previous initialization is here}} in A() argument 47 template<typename T> struct A { struct 48 T t; 50 A() : t(1), // expected-note {{previous initialization is here}} in A() argument 56 class A { class [all …]
|
D | self-comparison.cpp | 11 struct A { struct 12 int x; 13 X x2; 14 int a[3]; 15 int b[3]; 16 bool f() { return x == x; } // expected-warning {{self-comparison always evaluates to true}} in f() 17 bool g() { return x2 == x2; } // no-warning in g() function 18 bool h() { return a == b; } // expected-warning {{array comparison always evaluates to false}} in h() 19 bool i() { in i()
|
/external/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_fetch_sub_explicit.pass.cpp | 38 typedef std::atomic<T> A; in test() typedef 46 typedef std::atomic<T> A; in test() typedef 60 typedef std::atomic<T> A; in testp() typedef 69 typedef std::atomic<T> A; in testp() typedef 79 struct A struct 83 explicit A(int d = 0) : i(d) {} in A() function 84 A(const A& a) : i(a.i) {} in A() argument 85 A(const volatile A& a) : i(a.i) {} in A() function 87 void operator=(const volatile A& a) volatile {i = a.i;} in operator =() argument
|
D | atomic_fetch_add.pass.cpp | 37 typedef std::atomic<T> A; in test() typedef 44 typedef std::atomic<T> A; in test() typedef 57 typedef std::atomic<T> A; in testp() typedef 65 typedef std::atomic<T> A; in testp() typedef 74 struct A struct 78 explicit A(int d = 0) : i(d) {} in A() argument 79 A(const A& a) : i(a.i) {} in A() argument 80 A(const volatile A& a) : i(a.i) {} in A() argument 82 void operator=(const volatile A& a) volatile {i = a.i;} in operator =() argument
|
D | atomic_fetch_add_explicit.pass.cpp | 37 typedef std::atomic<T> A; in test() typedef 45 typedef std::atomic<T> A; in test() typedef 59 typedef std::atomic<T> A; in testp() typedef 68 typedef std::atomic<T> A; in testp() typedef 78 struct A struct 82 explicit A(int d = 0) : i(d) {} in A() argument 83 A(const A& a) : i(a.i) {} in A() argument 84 A(const volatile A& a) : i(a.i) {} in A() argument 86 void operator=(const volatile A& a) volatile {i = a.i;} in operator =() argument
|
D | atomic_fetch_sub.pass.cpp | 37 typedef std::atomic<T> A; in test() typedef 44 typedef std::atomic<T> A; in test() typedef 57 typedef std::atomic<T> A; in testp() typedef 65 typedef std::atomic<T> A; in testp() typedef 74 struct A struct 78 explicit A(int d = 0) : i(d) {} in A() argument 79 A(const A& a) : i(a.i) {} in A() argument 80 A(const volatile A& a) : i(a.i) {} in A() argument 82 void operator=(const volatile A& a) volatile {i = a.i;} in operator =() argument
|
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
D | p5.cpp | 4 template <class T> class A { class 26 template <class T> struct A { struct 27 void f() { C::foo(); } in f() 30 template <class T> struct A<T*> { struct 31 void f() { C::foo(); } in f() 34 template <> struct A<char> { struct 35 void f() { C::foo(); } in f() 48 template <class T> struct A { struct 49 void f() { C::foo(); } in f() 52 template <class T> struct A<T*> { struct [all …]
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | allocate_shared.pass.cpp | 25 struct A struct 29 A(int i, char c) : int_(i), char_(c) {++count;} in A() argument 30 A(const A& a) in A() function 33 ~A() {--count;} in ~A() argument 42 int A::count = 0; argument
|
D | make_shared.pass.cpp | 34 struct A struct 38 A(int i, char c) : int_(i), char_(c) {++count;} in A() function 39 A(const A& a) in A() argument 42 ~A() {--count;} in ~A() argument 51 int A::count = 0; argument
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/ |
D | swap.pass.cpp | 21 struct A struct 25 A() : state_(0) {++count;} in A() argument 26 explicit A(int i) : state_(i) {++count;} in A() function 27 A(const A& a) : state_(a.state_) {++count;} in A() argument 28 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =() argument 29 ~A() {--count;} in ~A() argument
|
/external/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/ |
D | p1.cpp | 8 template<class T> struct A { struct 9 struct C {}; 10 B<T>::C bc; // ok, B<T> is the current instantiation. 13 template<class T> struct A<A<T>> { struct 14 struct C {}; 15 B<B<T>>::C bc; // ok, B<B<T>> is the current instantiation. 18 template<class T> struct A<A<A<T>>> { struct 19 struct C {}; 20 B<B<T>>::C bc; // expected-error {{missing 'typename'}} 25 template<class T> struct A { struct
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
D | swap.pass.cpp | 21 struct A struct 25 A() : state_(0) {++count;} in A() argument 26 explicit A(int i) : state_(i) {++count;} in A() function 27 A(const A& a) : state_(a.state_) {++count;} in A() argument 28 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =() argument 29 ~A() {--count;} in ~A() argument
|
/external/libcxx/test/language.support/support.exception/propagation/ |
D | rethrow_exception.pass.cpp | 17 struct A struct 22 A(int data = 0) : data_(data) {++constructed;} in A() function 23 ~A() {--constructed;} in ~A() argument 24 A(const A& a) : data_(a.data_) {++constructed;} in A() function
|
D | make_exception_ptr.pass.cpp | 17 struct A struct 22 A(int data = 0) : data_(data) {++constructed;} in A() argument 23 ~A() {--constructed;} in ~A() argument 24 A(const A& a) : data_(a.data_) {++constructed;} in A() argument
|
/external/clang/test/CXX/class/class.mem/ |
D | p2.cpp | 14 struct A { // expected-note {{definition of 'test0::A' is not complete until the closing '}'}} struct 15 A x; // expected-error {{field has incomplete type 'test0::A'}} 20 template <class T> struct A { struct 21 …A<int> x; // expected-error {{implicit instantiation of template 'test1::A<int>' within its own de… 27 template <> struct A<int> {}; struct 28 template <class T> struct A { struct 29 A<int> x; 34 struct A { struct 35 struct B {
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/ |
D | null_asgn.pass.cpp | 21 struct A struct 24 A() {++count;} in A() function 25 A(const A&) {++count;} in A() argument 26 ~A() {--count;} in ~A() argument
|
D | nullptr_asgn.pass.cpp | 21 struct A struct 24 A() {++count;} in A() function 25 A(const A&) {++count;} in A() function 26 ~A() {--count;} in ~A() argument
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
D | null.pass.cpp | 21 struct A struct 24 A() {++count;} in A() argument 25 A(const A&) {++count;} in A() function 26 ~A() {--count;} in ~A() argument
|
D | nullptr.pass.cpp | 21 struct A struct 24 A() {++count;} in A() argument 25 A(const A&) {++count;} in A() function 26 ~A() {--count;} in ~A() argument
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | nullptr_t_deleter_allocator_throw.pass.cpp | 19 struct A struct 23 A() {++count;} in A() argument 24 A(const A&) {++count;} in A() argument 25 ~A() {--count;} in ~A() argument
|
/external/libcxxabi/test/ |
D | catch_class_01.cpp | 14 struct A struct 18 explicit A(int id) : id_(id) {count++;} in A() function 19 A(const A& a) : id_(a.id_) {count++;} in A() function 20 ~A() {count--;} in ~A() argument
|