Searched defs:initializer_list (Results 1 - 25 of 27) sorted by relevance

12

/external/clang/test/Modules/Inputs/initializer_list/
H A Ddirect.h4 template<typename T> struct initializer_list { struct in namespace:std
5 initializer_list(T*, size_t);
8 template<typename T> int min(initializer_list<T>);
/external/clang/test/Modules/
H A Dinitializer_list.cpp4 // RUN: -I %S/Inputs/initializer_list \
5 // RUN: -fmodule-map-file=%S/Inputs/initializer_list/direct.modulemap \
9 // RUN: -I %S/Inputs/initializer_list \
10 // RUN: -fmodule-map-file=%S/Inputs/initializer_list/indirect.modulemap \
20 @import initializer_list; variable
/external/clang/test/SemaCXX/
H A DPR20334-std_initializer_list_diagnosis_assertion.cpp6 class initializer_list class in namespace:std
10 template<class E> int f(std::initializer_list<E> il);
H A Dcxx11-call-to-deleted-constructor.cpp5 template<class _Ep> class initializer_list { }; class in namespace:std
29 Matrix(const std::initializer_list<value_type>& list) = delete; // expected-note {{'Matrix' has been explicitly marked deleted here}}
H A Dcxx0x-initializer-scalars.cpp11 class initializer_list class in namespace:std
16 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
30 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
110 one f(std::initializer_list<int>);
113 // to initializer_list is preferred
H A Dinvalid-member-expr.cpp28 template <class _E> class initializer_list {}; class in namespace:test3
29 template <typename _Tp> pair<_Tp, _Tp> minmax(initializer_list<_Tp> __l) {};
H A Dcxx0x-initializer-constructor.cpp11 class initializer_list class in namespace:std
16 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
30 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
53 F(std::initializer_list<int>) { static_assert(N == 3, ""); }
58 D(std::initializer_list<int>) { static_assert(N == 0, ""); } // expected-note 1 {{candidate}}
59 D(std::initializer_list<double>) { static_assert(N == 1, ""); } // expected-note 1 {{candidate}}
77 // the initializer_list constructor.
153 G(std::initializer_list<int>, T ...); // expected-note 3 {{not viable}}
205 void f(std::initializer_list<S>);
251 command_map(std::initializer_list<command_pai
306 B(std::initializer_list<int>) = delete; member in struct:init_list_default::B
[all...]
H A Dcxx0x-initializer-stdinitializerlist.cpp3 // This must obviously come before the definition of std::initializer_list.
5 auto l = {1, 2, 3, 4}; // expected-error {{std::initializer_list was not found}}
13 class initializer_list class in namespace:std
18 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
32 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
58 std::initializer_list<int> il = { 1, 2, 3 };
59 std::initializer_list<double> dl = { 1.0, 2.0, 3 };
60 std::initializer_list<A> al = { {1, 2}, {2, 3}, {3, 4} };
61 std::initializer_list<B> bl = { {1, 2}, {2, 3}, {} };
65 void f(std::initializer_list<in
200 void f(std::initializer_list<int[2][2]>) = delete; member in namespace:initlist_of_array
[all...]
H A Dscope-check.cpp331 template<typename T> struct initializer_list { struct in namespace:std
334 initializer_list(const T *, size_t);
344 std::initializer_list<A> il = { a }; // expected-note {{jump exits scope of lifetime-extended temporary with non-trivial destructor}}
359 std::initializer_list<B> il = {
369 std::initializer_list<B> il = {
/external/clang/test/CodeGenCXX/
H A DPR24289.cpp5 struct initializer_list { struct in namespace:std
9 constexpr initializer_list(const T *B, __SIZE_TYPE__ S) function in struct:std::initializer_list
15 static std::initializer_list<std::initializer_list<int>> a{
17 static std::initializer_list<std::initializer_list<int>> b{
19 static std::initializer_list<std::initializer_list<int>> c{
21 static std::initializer_list<std::initializer_list<in
[all...]
H A Dcxx0x-initializer-stdinitializerlist-pr12086.cpp10 class initializer_list class in namespace:std
19 constexpr initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
38 constexpr initializer_list() : __begin_(nullptr), __end_(nullptr) {} function in class:std::initializer_list
44 constexpr initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
54 std::initializer_list<std::initializer_list<int>> nested = {
H A Dcxx0x-initializer-stdinitializerlist-startend.cpp8 class initializer_list class in namespace:std
13 initializer_list(const _E* __b, const _E* __e) function in class:std::initializer_list
27 initializer_list() : __begin_(nullptr), __end_(nullptr) {} function in class:std::initializer_list
37 std::initializer_list<int> globalInitList1 = {1, 2, 3};
57 std::initializer_list<int> intlist{1, 2, i};
70 void target(std::initializer_list<destroyme1>);
H A Dcxx0x-initializer-stdinitializerlist.cpp8 class initializer_list class in namespace:std
13 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
27 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
46 wantslist1(std::initializer_list<destroyme1>);
52 std::initializer_list<int> globalInitList1 = {1, 2, 3};
61 std::initializer_list<int> thread_local x = { 1, 2, 3, 4 };
97 std::initializer_list<witharg1> globalInitList2 = {
118 std::initializer_list<int> intlist{1, 2, i};
123 void target(std::initializer_list<destroyme1>);
143 void target(std::initializer_list<witharg
[all...]
H A Dmangle-exprs.cpp8 class initializer_list class in namespace:std
13 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
27 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
301 struct E { E(std::initializer_list<int>); };
/external/clang/test/CXX/drs/
H A Ddr10xx.cpp11 template<typename T> struct initializer_list { struct in namespace:std
13 initializer_list(const T *p, size_t n);
38 A(std::initializer_list<int>);
46 std::initializer_list<int> a;
48 std::initializer_list<double> c;
H A Ddr9xx.cpp13 template<typename T> struct initializer_list { struct in namespace:std
15 initializer_list(const T *p, size_t n);
22 A(std::initializer_list<int>); // expected-note {{candidate}}
34 C(std::initializer_list<int>) = delete; // expected-note {{here}} member in struct:dr990::C
41 D(std::initializer_list<int>);
42 D(std::initializer_list<double>);
H A Ddr15xx.cpp31 class initializer_list class in namespace:std
36 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
48 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
70 void f0(std::initializer_list<int>); // #00
75 void f1(std::initializer_list<long>); // #2
80 void f2(std::initializer_list<std::string>); // #4
85 void f0(std::initializer_list<int>); // #00 expected-note {{candidate function}}
86 void f0(std::initializer_list<int>, int = 0); // Makes selection of #00 ambiguous \
91 void f1(std::initializer_list<long>); // #2 expected-note {{candidate function}}
92 void f1(std::initializer_list<lon
148 template<class T, int N> float *f(const std::initializer_list<T> (&)[N]); member in namespace:dr1591::check_arrays_of_init_list
158 template<class T, int N> char **f(std::initializer_list<T> (&&)[N]); //#4 expected-note{{candidate}} member in namespace:dr1591::core_reflector_28543
[all...]
H A Ddr14xx.cpp205 class initializer_list class in namespace:std
210 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
222 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
343 std::initializer_list<char>{"abc"}; // expected-error {{expected unqualified-id}}}
/external/clang/test/Preprocessor/
H A Dmacro_with_initializer_list.cpp5 class initializer_list { class in namespace:std
7 initializer_list();
14 Foo(std::initializer_list<int>);
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp4.cpp46 namespace std { template<typename T> struct initializer_list { initializer_list(); }; } struct in namespace:std
H A Dp7-1y.cpp4 template<typename T> struct initializer_list { struct in namespace:std
7 initializer_list(const T *p, unsigned long n);
20 using InitListInt = std::initializer_list<int>;
/external/clang/test/Index/
H A Dannotate-tokens-cxx0x.cpp26 // Need std::initializer_list
32 class initializer_list class in namespace:std
37 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
51 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
60 Foo(std::initializer_list<int> il);
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
H A Dp3-0x.cpp7 struct initializer_list struct in namespace:std
11 initializer_list(const E *p, size_t n) : p(p), n(n) {} function in struct:std::initializer_list
40 S(std::initializer_list<double> d) {}
41 S(std::initializer_list<int> i) {}
52 Map(std::initializer_list<std::pair<std::string,int>>) {}
76 S(std::initializer_list<double>) {}
98 B(std::initializer_list<int> i) {}
120 auto &&list1 = {mo}; // expected-error {{call to implicitly-deleted copy constructor}} expected-note {{in initialization of temporary of type 'std::initializer_list}}
122 std::initializer_list<MoveOnly> &&list3 = {};
/external/clang/test/Parser/
H A Dcxx0x-attributes.cpp3 // Need std::initializer_list
9 class initializer_list class in namespace:std
14 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
28 initializer_list() : __begin_(nullptr), __size_(0) {} function in class:std::initializer_list
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h81 class initializer_list class in namespace:std
86 initializer_list(const _E* __b, size_t __s) function in class:std::initializer_list
100 initializer_list() : __begin_(0), __size_(0) {} function in class:std::initializer_list

Completed in 968 milliseconds

12