Home
last modified time | relevance | path

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

1234567891011

/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 __anon6b83a0dc5902()
864 int L = ([] (int i) { return i; })(2); in __anon6b83a0dc5a02()
865 void foo(int i = ([] (int i) { return i; })(2)) { } in __anon6b83a0dc5b02()
866 int B : ([](int i) { return i; })(3); //expected-error{{inside of a constant expression}}\ in __anon6b83a0dc5c02()
869 int arr[([](int i) { return i; })(3)]; //expected-error{{inside of a constant expression}}\ in __anon6b83a0dc5d02()
871 int (*fp)(int) = [](int i) { return i; }; in __anon6b83a0dc5e02()
872 void fooptr(int (*fp)(char) = [](char c) { return 0; }) { } in __anon6b83a0dc5f02()
873 int L2 = ([](auto i) { return i; })(2); in __anon6b83a0dc6002()
874 void fooG(int i = ([] (auto i) { return i; })(2)) { } in fooG()
[all …]
/external/llvm-project/clang/test/CXX/class/class.mem/
Dp14.cpp16 struct X2 { struct
18 float X2; // expected-error{{member 'X2' has the same name as its class}} argument
/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}} member
/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>; argument
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
/external/llvm-project/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>; argument
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;
Dtemp_explicit_cxx0x.cpp14 template<typename T> struct X2 { }; // expected-note{{here}} struct
23 template struct X2<float>; // expected-error{{at global scope}} variable
/external/llvm-project/clang/test/SemaCXX/
Dcxx1y-generic-lambdas.cpp874 struct X2 { struct
875 enum { E = [](auto i) { return i; }(3) }; //expected-error{{inside of a constant expression}}\ in __anonf3d1ca8a5a02()
878 int L = ([] (int i) { return i; })(2); in __anonf3d1ca8a5b02()
879 void foo(int i = ([] (int i) { return i; })(2)) { } in foo()
880 int B : ([](int i) { return i; })(3); //expected-error{{inside of a constant expression}}\ in __anonf3d1ca8a5d02()
883 int arr[([](int i) { return i; })(3)]; //expected-error{{inside of a constant expression}}\ in __anonf3d1ca8a5e02()
885 int (*fp)(int) = [](int i) { return i; }; in __anonf3d1ca8a5f02()
886 void fooptr(int (*fp)(char) = [](char c) { return 0; }) { } in fooptr()
887 int L2 = ([](auto i) { return i; })(2); in __anonf3d1ca8a6102()
888 void fooG(int i = ([] (auto i) { return i; })(2)) { } in fooG()
[all …]
Dinvalid-constructor-init.cpp11 struct X2 { struct
13 constexpr X2() {} in X2() 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/llvm-project/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
/external/llvm-project/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
/external/llvm-project/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/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; }; argument
/external/llvm-project/clang/test/CodeGenObjCXX/
Dimplicit-copy-constructor.mm67 struct X2 { X1<int> result; }; struct
68 void test_X2() argument
/external/clang/test/CodeGenObjCXX/
Dimplicit-copy-constructor.mm65 struct X2 { X1<int> result; }; argument
66 void test_X2() argument

1234567891011