r179969 - The 'constexpr implies const' rule for non-static member functions is gone in

Richard Smith richard at metafoo.co.uk
Sat Apr 20 19:19:31 PDT 2013


On Sat, Apr 20, 2013 at 6:22 PM, Chandler Carruth <chandlerc at google.com>wrote:

>
> On Sun, Apr 21, 2013 at 2:08 AM, Richard Smith <richard-llvm at metafoo.co.uk
> > wrote:
>
>> +        Diag(MD->getLocation(),
>> diag::warn_cxx1y_compat_constexpr_not_const)
>> +          << FixItHint::CreateInsertion(AddConstLoc, " const");
>>
>
> No fix-it hints on warnings?
>

No fix-it hints with semantic effects on warnings. This fixit is a no-op
for C++11 code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130420/99b3ec64/attachment.html>


More information about the cfe-commits mailing list