[cfe-commits] r153026 - in /cfe/trunk: lib/Parse/ParseDecl.cpp test/SemaCXX/cxx98-compat.cpp
Chandler Carruth
chandlerc at google.com
Sun Mar 18 15:51:14 PDT 2012
Hold on,
On Sun, Mar 18, 2012 at 3:25 PM, Sebastian Redl <
sebastian.redl at getdesigned.at> wrote:
> +int InitList(int i = {}) { // expected-warning {{generalized initializer
> lists are incompatible with C++98}} \
> + // expected-warning {{scalar initialized from
> empty initializer list is incompatible with C++98}}
>
Why did we go from zero to two warnings? One should be enough, no?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120318/3fc0d35a/attachment.html>
More information about the cfe-commits
mailing list