| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
in the one case where we've already factored out a reason code.
llvm-svn: 174036
|
| |
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 169690
|
| |
|
|
| |
llvm-svn: 167506
|
| |
|
|
|
|
| |
sure to supply an initialization location. Fixes <rdar://problem/11951661>.
llvm-svn: 161084
|
| |
|
|
|
|
|
| |
std::initializer_list<T> so long as <T> is known. This conversion has
identity rank.
llvm-svn: 154065
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 153998
|
| |
|
|
| |
llvm-svn: 152848
|
| |
|
|
|
|
| |
direct member initializers.
llvm-svn: 151155
|
| |
|
|
| |
llvm-svn: 150933
|
| |
|
|
|
|
| |
expressions. Array new still missing.
llvm-svn: 150346
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
support. This means you can now write:
for (int i : {1, 4, 512, 23, 251}) {}
llvm-svn: 148353
|
| |
|
|
|
|
| |
initializer lists.
llvm-svn: 148352
|
| |
|
|
| |
llvm-svn: 148350
|
|
|
This does not yet support CodeGen.
llvm-svn: 148349
|