Home
last modified time | relevance | path

Searched defs:X2 (Results 1 – 25 of 114) sorted by relevance

12345

/external/clang/test/CXX/class/class.mem/
Dp14.cpp17 struct X2 { struct
19 float X2; // expected-error{{member 'X2' has the same name as its class}} argument
Dp13.cpp25 struct X2 { struct
26 typedef int X2; // expected-error{{member 'X2' has the same name as its class}} typedef
/external/clang/test/SemaCXX/
Dcxx1y-generic-lambdas.cpp860 struct X2 { struct
861 enum { E = [](auto i) { return i; }(3) }; //expected-error{{inside of a constant expression}}\ in __anon582519e15902()
864 int L = ([] (int i) { return i; })(2); in __anon582519e15a02()
865 void foo(int i = ([] (int i) { return i; })(2)) { } in __anon582519e15b02()
866 int B : ([](int i) { return i; })(3); //expected-error{{inside of a constant expression}}\ in __anon582519e15c02()
869 int arr[([](int i) { return i; })(3)]; //expected-error{{inside of a constant expression}}\ in __anon582519e15d02()
871 int (*fp)(int) = [](int i) { return i; }; in __anon582519e15e02()
872 void fooptr(int (*fp)(char) = [](char c) { return 0; }) { } in fooptr()
873 int L2 = ([](auto i) { return i; })(2); in __anon582519e16002()
874 void fooG(int i = ([] (auto i) { return i; })(2)) { } in __anon582519e16102()
[all …]
/external/clang/test/SemaTemplate/
Dtemp_class_order.cpp30 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
Dexplicit-instantiation.cpp47 struct X2 { struct
57 template int X2::f0(int); // expected-error{{not an instantiation}} argument
Dinstantiate-member-pointers.cpp17 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
Dcanonical-expr-type.cpp41 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;
Dpartial-spec-instantiate.cpp13 template <class T> struct X2 {}; struct
16 struct X2<U*> { struct
22 void a(char *a, char *b) {X2<char*>::f();} in a() argument
Dtemp_explicit_cxx0x.cpp14 template<typename T> struct X2 { }; // expected-note{{here}} struct
23 template struct X2<float>; // expected-error{{at global scope}} variable
Dtemp_explicit.cpp39 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
Ddefault-arguments.cpp51 struct X2 { struct
74 X2<int> x2i; // expected-note{{in instantiation of template class 'X2<int>' requested here}} argument
Dinstantiate-method.cpp107 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() function
Dinstantiate-non-dependent-types.cpp11 struct X2 { struct
15 X2<int> x; argument
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp1.cpp61 struct X2 { struct
76 T X2<T, U>::static_member1 = 17; // expected-error{{cannot initialize}} argument
/external/clang/test/CodeGenCXX/
Dattr-used.cpp19 struct X2 { struct
25 // CHECK-DAG: define linkonce_odr {{.*}} @_ZN2X23barEv argument
Dinstantiate-temporaries.cpp12 struct X2 { struct
29 (X2){}; in compound_literal() argument
Dglobal-llvm-constant.cpp26 struct X2 { struct
31 extern const X2 x2b; argument
Doverride-layout.cpp27 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/
Dp9.cpp17 template<template<class> class X0 = X0> struct X2 { }; struct
18 template<> struct X2<X0> { static const bool value = true; }; struct
/external/clang/test/CodeGenObjCXX/
Dimplicit-copy-constructor.mm65 struct X2 { X1<int> result; }; struct
66 void test_X2() argument
/external/clang/test/Parser/
Dmissing-end-4.m10 @interface X2 interface
12 @implementation X2 // expected-note {{implementation started here}} implementation
/external/clang/test/CXX/temp/temp.param/
Dp3.cpp27 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/
Dp1.cpp26 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/
Dp2.cpp37 struct X2 { struct
38 typedef void is_b;
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dtemplates.cpp142 …struct X2 { // expected-note{{in instantiation of default member initializer 'NonLocalLambdaInstan… struct
148 …X2<int*> x2ip; // expected-note{{implicit default constructor for 'NonLocalLambdaInstantation::X2<…

12345