/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 | warn-missing-noreturn.cpp | 10 template<typename T> struct A { struct 16 template struct A<int>; variable 60 struct A { struct 61 void *f; 63 A() : f(0) { } in A() argument 64 …A(int) : f(h()) { } // expected-warning {{function 'A' could be declared with attribute 'noreturn'… in A() function 65 A(char) : f(j()) { } in A() function 66 A(bool b) : f(b ? h() : j()) { } in A() argument 71 struct A { struct
|
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
D | p5.cpp | 5 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/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/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/clang/test/CodeGenObjCXX/ |
D | implicit-copy-constructor.mm | 3 struct A { struct 4 A(); argument 5 A(const A&); field 6 A(A&); argument 7 ~A(); field
|
/external/clang/test/CodeGenCXX/ |
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 …]
|
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 | copy-constructor-elim-2.cpp | 3 struct A { int x; A(int); ~A(); }; struct 39 struct A { struct 58 struct A { struct 59 A() : value(1) { } in A() function 60 A(A const &, int value = 2) : value(value) { } in A() function 69 // CHECK-NEXT: call %"struct.PR12139::A"* @_ZN7PR121391AC1ERKS0_i in test()
|
D | class-layout.cpp | 6 struct A { } *a; struct 12 struct A { void *a; int b; } *a; argument 18 struct A { virtual void f(); int a; } *a; struct 25 struct A { struct 26 int a; 27 char c; 28 float b; 37 struct A { struct 39 char a; 51 template <typename T> class A { class [all …]
|
D | static-data-member.cpp | 16 struct A { struct 17 static const int a = 10; 37 template <class T> struct A { struct 38 static int x; 42 template struct A<int>; variable 56 template <class T> struct A { struct 57 static int x; 61 template struct A<int>; variable 77 struct A { struct 78 static const int n = 76;
|
D | exceptions.cpp | 26 struct A { A(int); A(int, int); ~A(); void *p; }; argument 153 struct A { struct 155 void *p; 173 struct A { struct 175 void *p; 240 struct A { struct 242 void *p; 265 struct A { struct 309 struct A { A(); ~A(); }; struct 393 struct A { struct [all …]
|
/external/clang/test/CXX/special/class.inhctor/ |
D | p4.cpp | 7 struct A { struct 9 A(X<0>) {} in A() function 11 A(X<1>) {} in A() function 13 A(X<2>) {} // expected-note {{declared private here}} in A() argument 57 struct A { struct 58 constexpr A(int, float = 0) {} in A() function 59 explicit A(int, int = 0) {} in A() function
|
D | p8.cpp | 4 struct A { struct 5 constexpr A(const int&) : rval(false) {} in A() argument 6 constexpr A(const int&&) : rval(true) {} in A() argument 9 struct B : A { 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 | instantiate-self.cpp | 6 template<typename T> struct A { struct 8 B b; // expected-error {{has incomplete type 'test1::A<int>::B'}} 10 B b; // expected-note {{in instantiation of}} 16 template<typename T> struct A { struct 17 struct B { 20 friend constexpr int operator+(int, C) { return 4; } in operator +() 22 B b; // expected-note {{in instantiation of}} 29 template<typename T> struct A { struct 30 struct B { 34 B b; [all …]
|
D | unresolved-construct.cpp | 3 class A class 6 A() {} in A() function in A 11 A(A&&) {} in A() argument 12 A& operator=(A&&) {return *this;} in operator =() argument
|
D | instantiate-decl-dtor.cpp | 3 template <typename T> struct A { struct 5 A(int y) { x = y; } in A() argument 6 ~A() { *x = 10; } // expected-error {{indirection requires pointer operand}} in ~A() argument
|
D | member-initializers.cpp | 4 template<typename T> struct A { struct 5 A() : j(10), i(10) { } in A() function 11 template<typename T> struct B : A<T> { 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/CodeGen/ |
D | 2007-11-07-CopyAggregateAlign.c | 2 struct A { char s, t, u, v; short a; }; argument
|
D | avx-builtins.c | 27 __m128i test_mm_cmpestrm(__m128i A, int LA, __m128i B, int LB) { in test_mm_cmpestrm() 32 int test_mm_cmpestri(__m128i A, int LA, __m128i B, int LB) { in test_mm_cmpestri() 37 int test_mm_cmpestra(__m128i A, int LA, __m128i B, int LB) { in test_mm_cmpestra() 42 int test_mm_cmpestrc(__m128i A, int LA, __m128i B, int LB) { in test_mm_cmpestrc() 47 int test_mm_cmpestro(__m128i A, int LA, __m128i B, int LB) { in test_mm_cmpestro() 52 int test_mm_cmpestrs(__m128i A, int LA, __m128i B, int LB) { in test_mm_cmpestrs() 57 int test_mm_cmpestrz(__m128i A, int LA, __m128i B, int LB) { in test_mm_cmpestrz() 62 __m128i test_mm_cmpistrm(__m128i A, __m128i B) { in test_mm_cmpistrm() 67 int test_mm_cmpistri(__m128i A, __m128i B) { in test_mm_cmpistri() 72 int test_mm_cmpistra(__m128i A, __m128i B) { in test_mm_cmpistra() [all …]
|
/external/clang/test/CXX/temp/temp.decls/ |
D | p3.cpp | 3 template<typename T> using A = int; typedef 4 template<typename T> using A<T*> = char; // expected-error {{partial specialization of alias templa… typedef 5 template<> using A<char> = char; // expected-error {{explicit specialization of alias templates is … typedef 7 using A<char> = char; // expected-error {{name defined in alias declaration must be an identifier}} typedef
|
/external/compiler-rt/lib/tsan/lit_tests/ |
D | vptr_harmful_race.cc | 6 struct A { struct 7 A() { in A() function 15 virtual ~A() { in ~A() argument 22 struct B : A { argument
|
D | vptr_benign_race.cc | 6 struct A { struct 7 A() { in A() function 15 virtual ~A() { in ~A() argument 20 struct B : A { argument
|