ef8225444452a1486bd721f3285301fe84643b00 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
2ca3db4876207a0f2d9ed683b0d3b6f3193f39bc |
|
22-Nov-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r195384: ------------------------------------------------------------------------ r195384 | rsmith | 2013-11-21 15:30:57 -0800 (Thu, 21 Nov 2013) | 2 lines PR18013: Don't assert diagnosing a bad std::initializer_list construction. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@195394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
3082be2f92c5d273ada989c1a13bcb46bc14e4c7 |
|
06-Sep-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
When creating an implicit conversion sequence for a reference of type T from an initializer list containing a single element of type T, be sure to mark the sequence as a list conversion sequence so that it is known to be worse than an implicit conversion sequence that initializes a std::initializer_list object. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
7c3e615f01e8f9f587315800fdaf2305ed824568 |
|
13-Jun-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR12086, PR15117 Introduce CXXStdInitializerListExpr node, representing the implicit construction of a std::initializer_list<T> object from its underlying array. The AST representation of such an expression goes from an InitListExpr with a flag set, to a CXXStdInitializerListExpr containing a MaterializeTemporaryExpr containing an InitListExpr (possibly wrapped in a CXXBindTemporaryExpr). This more detailed representation has several advantages, the most important of which is that the new MaterializeTemporaryExpr allows us to directly model lifetime extension of the underlying temporary array. Using that, this patch *drastically* simplifies the IR generation of this construct, provides IR generation support for nested global initializer_list objects, fixes several bugs where the destructors for the underlying array would accidentally not get invoked, and provides constant expression evaluation support for std::initializer_list objects. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
2c2f09ec4842be9933f803b1ec9488b62afc9f5c |
|
24-May-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix crash-on-invalid if list-initialization works, but we bail out when building the resulting expression because it invokes a deleted constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
0efa62f2096f28a610ac2ea8d2651448a7ec89c7 |
|
31-Jan-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Replace "failed template argument deduction" diagnostic with something useful in the one case where we've already factored out a reason code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174036 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
2801d9afa1fabbc99b7c1ad9f2f3df0e0b24adb1 |
|
09-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix overload resolution for the initialization of a multi-dimensional array from a braced-init-list. There seems to be a core wording wart here (it suggests we should be testing whether the elements of the init list are implicitly convertible to the array element type, not whether there is an implicit conversion sequence) but our prior behavior appears to be a bug, not a deliberate effort to implement the standard as written. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
70a01898008a90007866f15c4d9d53ba00b0d203 |
|
07-Nov-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Fix assertion failure with auto and nested initializer list; PR14272. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167506 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
3c394c54511b27be0ff6968f159bba3521ab3c3e |
|
01-Aug-2012 |
Douglas Gregor <dgregor@apple.com> |
When testing whether we can perform copy or move initialization, be sure to supply an initialization location. Fixes <rdar://problem/11951661>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
5b4bf13761303978c22f67984b4548379a189166 |
|
05-Apr-2012 |
Douglas Gregor <dgregor@apple.com> |
Allow a conversion from the empty initializer list {} to an std::initializer_list<T> so long as <T> is known. This conversion has identity rank. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
d280389b42bb55cd8969eae181dc3ff9f05e9aaf |
|
04-Apr-2012 |
Douglas Gregor <dgregor@apple.com> |
When performing template argument deduction for an initializer list, be sure to perform the argument type adjustments in [temp.deduct.call]p2, e.g., array decay. And, when performing these deductions in the context of 'auto', make sure that we're deducing the P' in std::initializer_list<P'> rather than the whole initializer list. Together, this makes code like for( auto s : {"Deferred", "New", "Open", "Review"}) { } work properly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
4b911e6536ed77524c3cef572cb0f6c8d9079e2e |
|
15-Mar-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Support deducing template arguments from nested initializer lists. PR12119. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152848 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
33deb35535aebe81bed0eaf5c14f3032276a086e |
|
22-Feb-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Fix parsing and processing initializer lists in return statements and as direct member initializers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
772291a67d483c1c2abf324eec5d8d6ca476bfdc |
|
19-Feb-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Emit a warning when list-initializing a std::initializer_list member. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
6dc00f6e98a00bd1c332927c3e04918d7e8b0d4f |
|
12-Feb-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Proper initializer list support for new expressions and type construct expressions. Array new still missing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
b832f6dea893f25b40500a04781286236281cb20 |
|
23-Jan-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Minor fixups for auto deduction of initializer lists. Fix some review comments. Add a test for deduction when std::initializer_list isn't available yet. Fix redundant error messages. This fixes and outstanding FIXME too. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
62b7cfb73e202051e7ab0dad42ba213acd0dec7e |
|
17-Jan-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Auto deduction support for std::initializer_list, including for-range support. This means you can now write: for (int i : {1, 4, 512, 23, 251}) {} git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
84760e3a5d885ab19b5d11aafe78dfdfe2911e3a |
|
17-Jan-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Template argument deduction for std::initializer_list arguments from initializer lists. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148352 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
fe5922809ec906390769a2cf0a765f395fa0c599 |
|
17-Jan-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Basic overloading support for std::initializer_list. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148350 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|
2b916b8b55aaf0152ab9ad630c8454bf6373b085 |
|
17-Jan-2012 |
Sebastian Redl <sebastian.redl@getdesigned.at> |
Sema support for initialization of std::initializer_list from initializer lists. This does not yet support CodeGen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
|