/external/clang/test/Modules/Inputs/initializer_list/ |
H A D | direct.h | 4 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 D | initializer_list.cpp | 4 // 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 D | PR20334-std_initializer_list_diagnosis_assertion.cpp | 6 class initializer_list class in namespace:std 10 template<class E> int f(std::initializer_list<E> il);
|
H A D | cxx11-call-to-deleted-constructor.cpp | 5 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 D | cxx0x-initializer-scalars.cpp | 11 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 D | invalid-member-expr.cpp | 28 template <class _E> class initializer_list {}; class in namespace:test3 29 template <typename _Tp> pair<_Tp, _Tp> minmax(initializer_list<_Tp> __l) {};
|
H A D | cxx0x-initializer-constructor.cpp | 11 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 D | cxx0x-initializer-stdinitializerlist.cpp | 3 // 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 D | scope-check.cpp | 331 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 D | PR24289.cpp | 5 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 D | cxx0x-initializer-stdinitializerlist-pr12086.cpp | 10 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 D | cxx0x-initializer-stdinitializerlist-startend.cpp | 8 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 D | cxx0x-initializer-stdinitializerlist.cpp | 8 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 D | mangle-exprs.cpp | 8 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 D | dr10xx.cpp | 11 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 D | dr9xx.cpp | 13 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 D | dr15xx.cpp | 31 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 D | dr14xx.cpp | 205 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 D | macro_with_initializer_list.cpp | 5 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 D | p4.cpp | 46 namespace std { template<typename T> struct initializer_list { initializer_list(); }; } struct in namespace:std
|
H A D | p7-1y.cpp | 4 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 D | annotate-tokens-cxx0x.cpp | 26 // 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 D | p3-0x.cpp | 7 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 D | cxx0x-attributes.cpp | 3 // 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 D | system-header-simulator-cxx.h | 81 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
|