/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 __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/ |
D | p14.cpp | 16 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/ |
D | p14.cpp | 17 struct X2 { struct 19 float X2; // expected-error{{member 'X2' has the same name as its class}} member
|
/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>; argument 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
|
/external/llvm-project/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>; argument 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 | 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
|
/external/llvm-project/clang/test/SemaCXX/ |
D | cxx1y-generic-lambdas.cpp | 874 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 …]
|
D | invalid-constructor-init.cpp | 11 struct X2 { struct 13 constexpr X2() {} in X2() argument
|
/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/llvm-project/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
|
/external/llvm-project/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
|
/external/llvm-project/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/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; }; argument
|
/external/llvm-project/clang/test/CodeGenObjCXX/ |
D | implicit-copy-constructor.mm | 67 struct X2 { X1<int> result; }; struct 68 void test_X2() argument
|
/external/clang/test/CodeGenObjCXX/ |
D | implicit-copy-constructor.mm | 65 struct X2 { X1<int> result; }; argument 66 void test_X2() argument
|