Sebastian Redl
09edce0400
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.
llvm-svn: 148735
2012-01-23 22:09:39 +00:00
Sebastian Redl
42acd4a05b
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}) {}
llvm-svn: 148353
2012-01-17 22:50:08 +00:00
Sebastian Redl
43144e72b5
Template argument deduction for std::initializer_list arguments from initializer lists.
...
llvm-svn: 148352
2012-01-17 22:49:58 +00:00
Sebastian Redl
10f0fc04a8
Basic overloading support for std::initializer_list.
...
llvm-svn: 148350
2012-01-17 22:49:48 +00:00
Sebastian Redl
c1839b1b09
Sema support for initialization of std::initializer_list from initializer lists.
...
This does not yet support CodeGen.
llvm-svn: 148349
2012-01-17 22:49:42 +00:00