/external/clang/test/CXX/class/class.mem/ |
D | p14.cpp | 17 struct X2 { struct 19 float X2; // expected-error{{member 'X2' has the same name as its class}} member
|
D | p13.cpp | 25 struct X2 { struct 26 typedef int X2; // expected-error{{member 'X2' has the same name as its class}} typedef
|
/external/clang/test/SemaTemplate/ |
D | temp_class_order.cpp | 30 struct X2 { }; struct 33 struct X2<T*, U> { }; // expected-note{{matches}} struct 36 struct X2<T, U*> { }; // expected-note{{matches}} struct 39 struct X2<const T*, const U*> { }; struct
|
D | explicit-instantiation.cpp | 47 struct X2 { struct 57 template int X2::f0(int); // expected-error{{not an instantiation}} argument
|
D | instantiate-member-pointers.cpp | 17 struct X2 { struct 24 template struct X2<int, Y>; variable 25 template struct X2<int&, Y>; // expected-note{{instantiation}} variable 26 template struct X2<const void, Y>; // expected-note{{instantiation}} variable
|
D | canonical-expr-type.cpp | 41 struct X2 { struct 42 typedef T __attribute__((ext_vector_type(N))) type1; 43 typedef T __attribute__((ext_vector_type(M))) type2; 44 typedef T __attribute__((ext_vector_type(N))) type3;
|
D | partial-spec-instantiate.cpp | 13 template <class T> struct X2 {}; struct 16 struct X2<U*> { struct 22 void a(char *a, char *b) {X2<char*>::f();} in a() argument
|
D | temp_explicit_cxx0x.cpp | 14 template<typename T> struct X2 { }; // expected-note{{here}} struct 23 template struct X2<float>; // expected-error{{at global scope}} variable
|
D | temp_explicit.cpp | 39 template struct X2<float>; // expected-error{{undefined template}} variable 42 struct X2 { struct 46 template struct X2<int>; // okay variable 47 template struct X2<int&>; // expected-note{{in instantiation of}} variable
|
D | default-arguments.cpp | 51 struct X2 { struct 74 X2<int> x2i; // expected-note{{in instantiation of template class 'X2<int>' requested here}} argument
|
D | instantiate-method.cpp | 107 struct X2 : X0Base, U { struct 108 int &f2() { return X0Base::f(); } in f2() 164 template < typename U = X1<int> > struct X2 struct 166 X2( U = U()) in X2() argument
|
D | instantiate-non-dependent-types.cpp | 11 struct X2 { struct 15 X2<int> x; argument
|
/external/clang/test/SemaCXX/ |
D | cxx1y-generic-lambdas.cpp | 860 struct X2 { struct 861 enum { E = [](auto i) { return i; }(3) }; //expected-error{{inside of a constant expression}}\ in __anon627fcfb65902() 864 int L = ([] (int i) { return i; })(2); in __anon627fcfb65a02() 865 void foo(int i = ([] (int i) { return i; })(2)) { } in __anon627fcfb65b02() 866 int B : ([](int i) { return i; })(3); //expected-error{{inside of a constant expression}}\ in __anon627fcfb65c02() 869 int arr[([](int i) { return i; })(3)]; //expected-error{{inside of a constant expression}}\ in __anon627fcfb65d02() 871 int (*fp)(int) = [](int i) { return i; }; in __anon627fcfb65e02() 872 void fooptr(int (*fp)(char) = [](char c) { return 0; }) { } in fooptr() 873 int L2 = ([](auto i) { return i; })(2); in __anon627fcfb66002() 874 void fooG(int i = ([] (auto i) { return i; })(2)) { } in fooG() [all …]
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
D | p1.cpp | 61 struct X2 { struct 76 T X2<T, U>::static_member1 = 17; // expected-error{{cannot initialize}} argument
|
/external/clang/test/CodeGenCXX/ |
D | attr-used.cpp | 19 struct X2 { struct 25 // CHECK-DAG: define linkonce_odr {{.*}} @_ZN2X23barEv argument
|
D | instantiate-temporaries.cpp | 12 struct X2 { struct 29 (X2){}; in compound_literal() argument
|
D | global-llvm-constant.cpp | 26 struct X2 { struct 31 extern const X2 x2b; argument
|
D | override-layout.cpp | 27 struct PACKED X2 : public X1, public X0, public Empty1 { struct 28 short x; 29 int y;
|
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
D | p9.cpp | 17 template<template<class> class X0 = X0> struct X2 { }; struct 18 template<> struct X2<X0> { static const bool value = true; }; struct
|
/external/clang/test/CodeGenObjCXX/ |
D | implicit-copy-constructor.mm | 65 struct X2 { X1<int> result; }; struct 66 void test_X2() argument
|
/external/clang/test/Parser/ |
D | missing-end-4.m | 10 @interface X2 interface 12 @implementation X2 // expected-note {{implementation started here}} implementation
|
/external/clang/test/CXX/temp/temp.param/ |
D | p3.cpp | 27 template<class T, T i> struct X2 { struct 28 void f(T t) in f()
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/ |
D | p1.cpp | 26 template <typename T> class [[deprecated]] X2 {}; class 27 template <> class X2<int> {}; class
|
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/ |
D | p2.cpp | 37 struct X2 { struct 38 typedef void is_b;
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
D | p3-0x.cpp | 123 struct X2 { struct 124 int m; 129 auto g(T x) -> decltype(f(x)) { return 0; } in g()
|