The 'constexpr implies const' rule for non-static member functions is gone inC++1y, so stop adding the 'const' there. Provide a compatibility warning forcode relying on this in C++11, with a fix-it
The 'constexpr implies const' rule for non-static member functions is gone inC++1y, so stop adding the 'const' there. Provide a compatibility warning forcode relying on this in C++11, with a fix-it hint. Update our lazily-writtentests to add the const, except for those ones which were testing ourimplementation of this rule.llvm-svn: 179969
show more ...
Reject 'a = {0} = {0}' rather than parsing it as '(a = {0}) = {0}'. Alsoimprove the diagnostics for some attempts to use initializer lists inexpressions.llvm-svn: 151794
Convert initializer lists to temporaries in CreateBuiltinBinOp. Allows assignment of init lists to built-in types and resolves PR12088.llvm-svn: 151551
Tests for r151508.llvm-svn: 151509