/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/Modules/Inputs/merge-decl-context/ |
D | a.h | 5 struct A { struct 7 A(I i1, I i2) { in A() argument 9 A(double) {} in A() argument 10 A(double, double) {} in A() function 11 A(double, int) {} in A() argument 12 A(int, double) {} in A() function
|
/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() function 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/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | atomic_fetch_add_explicit.pass.cpp | 40 typedef std::atomic<T> A; in test() typedef 48 typedef std::atomic<T> A; in test() typedef 62 typedef std::atomic<T> A; in testp() typedef 71 typedef std::atomic<T> A; in testp() typedef 81 struct A struct 85 explicit A(int d = 0) noexcept {i=d;} in A() argument 86 A(const A& a) : i(a.i) {} in A() argument 87 A(const volatile A& a) : i(a.i) {} in A() function 89 void operator=(const volatile A& a) volatile {i = a.i;} in operator =() argument
|
D | atomic_fetch_sub.pass.cpp | 40 typedef std::atomic<T> A; in test() typedef 47 typedef std::atomic<T> A; in test() typedef 60 typedef std::atomic<T> A; in testp() typedef 68 typedef std::atomic<T> A; in testp() typedef 77 struct A struct 81 explicit A(int d = 0) noexcept {i=d;} in A() argument 82 A(const A& a) : i(a.i) {} in A() argument 83 A(const volatile A& a) : i(a.i) {} in A() argument 85 void operator=(const volatile A& a) volatile {i = a.i;} in operator =() argument
|
D | atomic_fetch_add.pass.cpp | 40 typedef std::atomic<T> A; in test() typedef 47 typedef std::atomic<T> A; in test() typedef 60 typedef std::atomic<T> A; in testp() typedef 68 typedef std::atomic<T> A; in testp() typedef 77 struct A struct 81 explicit A(int d = 0) noexcept {i=d;} in A() function 82 A(const A& a) : i(a.i) {} in A() function 83 A(const volatile A& a) : i(a.i) {} in A() argument 85 void operator=(const volatile A& a) volatile {i = a.i;} in operator =() argument
|
D | atomic_fetch_sub_explicit.pass.cpp | 41 typedef std::atomic<T> A; in test() typedef 49 typedef std::atomic<T> A; in test() typedef 63 typedef std::atomic<T> A; in testp() typedef 72 typedef std::atomic<T> A; in testp() typedef 82 struct A struct 86 explicit A(int d = 0) noexcept {i=d;} in A() argument 87 A(const A& a) : i(a.i) {} in A() function 88 A(const volatile A& a) : i(a.i) {} in A() argument 90 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/clang/test/CodeGenObjCXX/ |
D | microsoft-abi-arc-param-order.mm | 3 struct A { struct 4 A(); field 5 A(const A &); field 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
|
D | implicit-copy-constructor.mm | 3 struct A { struct 4 A(); field 5 A(const A&); field 6 A(A&); argument 7 ~A(); argument
|
/external/clang/lib/Headers/ |
D | avx512erintrin.h | 32 #define _mm512_exp2a23_round_pd(A, R) __extension__ ({ \ argument 37 #define _mm512_mask_exp2a23_round_pd(S, M, A, R) __extension__ ({ \ argument 42 #define _mm512_maskz_exp2a23_round_pd(M, A, R) __extension__ ({ \ argument 47 #define _mm512_exp2a23_pd(A) \ argument 50 #define _mm512_mask_exp2a23_pd(S, M, A) \ argument 53 #define _mm512_maskz_exp2a23_pd(M, A) \ argument 56 #define _mm512_exp2a23_round_ps(A, R) __extension__ ({ \ argument 61 #define _mm512_mask_exp2a23_round_ps(S, M, A, R) __extension__ ({ \ argument 66 #define _mm512_maskz_exp2a23_round_ps(M, A, R) __extension__ ({ \ argument 71 #define _mm512_exp2a23_ps(A) \ argument [all …]
|
/external/libcxx/test/std/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() argument 27 A(const A& a) : state_(a.state_) {++count;} in A() function 28 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =() argument 29 ~A() {--count;} in ~A() argument
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | make_shared.pass.cpp | 21 struct A struct 25 A(int i, char c) : int_(i), char_(c) {++count;} in A() argument 26 A(const A& a) in A() argument 29 ~A() {--count;} in ~A() argument 38 int A::count = 0; argument
|
D | allocate_shared.pass.cpp | 26 struct A struct 30 A(int i, char c) : int_(i), char_(c) {++count;} in A() argument 31 A(const A& a) in A() function 34 ~A() {--count;} in ~A() argument 43 int A::count = 0; argument
|
/external/clang/test/SemaTemplate/ |
D | constructor-template.cpp | 37 typedef X1<T> A; typedef 50 template<class C> struct A {}; struct 51 template <> struct A<int>{A(const A<int>&);}; struct 136 template <class T, class U> struct A { struct 137 A() {} in A() function 138 A(const A<T,U> &o) {} in A() argument 139 A(A<T,T> o) {} in A() argument 153 template <class T, class U> struct A { struct 154 A() {} // expected-note {{not viable: requires 0 arguments}} in A() function 155 A(A<T,U> &o) {} // expected-note {{not viable: expects an l-value}} in A() argument [all …]
|
/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/std/utilities/memory/default.allocator/allocator.members/ |
D | construct.pass.cpp | 22 struct A struct 25 A() {++A_constructed;} in A() argument 27 A(const A&) {++A_constructed;} in A() argument 29 explicit A(int) {++A_constructed;} in A() function 30 A(int, int*) {++A_constructed;} in A() function 32 ~A() {--A_constructed;} in ~A() argument
|
/external/libcxx/test/std/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() function 28 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =() argument 29 ~A() {--count;} in ~A() argument
|
/external/libcxx/test/std/language.support/support.exception/propagation/ |
D | make_exception_ptr.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 | rethrow_exception.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/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/ |
D | swap.pass.cpp | 21 struct A struct 25 explicit A(int i) : state_(i) {++count;} in A() function 26 A(const A& a) : state_(a.state_) {++count;} in A() argument 27 A& operator=(const A& a) {state_ = a.state_; return *this;} in operator =() argument 28 ~A() {--count;} in ~A() argument
|
/external/clang/test/CXX/special/class.inhctor/ |
D | p4.cpp | 7 struct A { struct 9 A(X<0>) {} in A() argument 11 A(X<1>) {} in A() function 13 A(X<2>) {} // expected-note {{declared private here}} in A() argument 59 struct A { struct 60 constexpr A(int, float = 0) {} in A() argument 61 explicit A(int, int = 0) {} // expected-note {{constructor cannot be inherited}} in A() function
|