| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
just copy-list-initialization in a variable declaration. This effectively
reverts r142147.
llvm-svn: 183397
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
designator" diagnostic with more correct and more human-friendly "cannot take
address of rvalue of type 'T'".
For the case of & &T::f, provide a custom diagnostic, rather than unhelpfully
saying "cannot take address of rvalue of type '<overloaded function type>'".
For the case of &array_temporary, treat it just like a class temporary
(including allowing it as an extension); the existing diagnostic wording
for the class temporary case works fine.
llvm-svn: 174262
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
initializer list. Patch by Olivier Goffart, with extra testcases by Meador Inge
and Daniel Lunow.
llvm-svn: 159896
|
|
|
|
|
|
| |
conversions. PR12121.
llvm-svn: 151674
|
|
|
|
|
|
|
| |
and move it out of -Wgnu so that -Wno-gnu leaves it enabled. As requested by
Eli.
llvm-svn: 150643
|
|
|
|
|
|
| |
parenthesized braced-init-list in the base/member initialization list.
llvm-svn: 150625
|
|
|
|
|
|
| |
functional cast code path. It sometimes does the wrong thing, produces horrible error messages, and is just unnecessary.
llvm-svn: 150408
|
|
|
|
|
|
| |
expressions. Array new still missing.
llvm-svn: 150346
|
|
|
|
|
|
| |
distinguish between list and parens form. This allows us to correctly diagnose the last test cases from litb.
llvm-svn: 150343
|
|
|
|
|
|
| |
aggregate class type and initializer list arguments.
llvm-svn: 143462
|
|
This also applies to C99-style aggregate literals, should they be used in C++11, since they are effectively identical to constructor call list-initialization syntax.
llvm-svn: 142147
|