Home
last modified time | relevance | path

Searched defs:A (Results 1 – 25 of 2379) sorted by relevance

12345678910>>...96

/external/clang/test/CodeGenCXX/
Duncopyable-args.cpp6 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 …]
Dskip-vtable-pointer-initialization.cpp8 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 …]
Dnew-overflow.cpp7 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/
Dmicrosoft-abi-arc-param-order.mm3 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/
Dclass-base-member-init.cpp20 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 …]
Dself-comparison.cpp11 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/
Datomic_fetch_sub_explicit.pass.cpp38 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
Datomic_fetch_add.pass.cpp37 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
Datomic_fetch_add_explicit.pass.cpp37 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
Datomic_fetch_sub.pass.cpp37 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/
Dp5.cpp4 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/
Dallocate_shared.pass.cpp25 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
Dmake_shared.pass.cpp34 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/
Dswap.pass.cpp21 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/
Dp1.cpp8 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/
Dswap.pass.cpp21 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/
Drethrow_exception.pass.cpp17 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
Dmake_exception_ptr.pass.cpp17 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/
Dp2.cpp14 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/
Dnull_asgn.pass.cpp21 struct A struct
24 A() {++count;} in A() function
25 A(const A&) {++count;} in A() argument
26 ~A() {--count;} in ~A() argument
Dnullptr_asgn.pass.cpp21 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/
Dnull.pass.cpp21 struct A struct
24 A() {++count;} in A() argument
25 A(const A&) {++count;} in A() function
26 ~A() {--count;} in ~A() argument
Dnullptr.pass.cpp21 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/
Dnullptr_t_deleter_allocator_throw.pass.cpp19 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/
Dcatch_class_01.cpp14 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

12345678910>>...96