For the avoidance of doubt, the attached patch is the proposed change. It's
a minimal change that merely adds '-std=c++14' as an alias for '-std=c++1y'
and adds '-std=gnu++14' as an alias for '-std=gnu++1y'. I think it'd be a
significant missed opportunity for our first release after C++14 is
standardized to not have this flag (we've been C++14 feature complete since
January).

Tom: If we're going to have a 3.4.3 point release, I'd suggest applying
this patch there too.

On Wed, Aug 20, 2014 at 1:56 AM, Chandler Carruth <[email protected]>
wrote:

> Really?
>
> I would really like to see this. It's totally safe, and we actually had
> full C++14 support *well* before the branch.
>
>
> On Wed, Aug 20, 2014 at 12:46 AM, Bill Wendling <[email protected]>
> wrote:
>
>>  I know that ’14 is out now, but that happened after the branching. I
>> don’t even know if we’re promising full c++14 support in this. Let’s just
>> wait until the next release.
>>
>> -bw
>>
>> On Aug 19, 2014, at 9:26 AM, Aaron Ballman <[email protected]>
>> wrote:
>>
>> > On Tue, Aug 19, 2014 at 12:24 PM, Richard Smith <[email protected]>
>> wrote:
>> >> On 19 Aug 2014 08:55, "Aaron Ballman" <[email protected]> wrote:
>> >>>
>> >>> On Tue, Aug 19, 2014 at 11:47 AM, Richard Smith <
>> [email protected]>
>> >>> wrote:
>> >>>> LGTM, thanks!
>> >>>>
>> >>>> It looks like you didn't add -std=gnu++14. Is there a reason for
>> that?
>> >>>> It
>> >>>> seems useful, even if GCC doesn't support it yet.
>> >>>
>> >>> I wasn't certain whether we wanted it. I will add it in.
>> >>>
>> >>>> Also, I spied a CXX1YCOMPAT macro in one of the tests you updated :)
>> >>>
>> >>> I will double-check that and fix before committing.
>> >>>
>> >>> Blind curiosity, is this something we want for the release? Or has
>> >>> that ship sailed?
>> >>
>> >> If Bill is amenable, adding just the -std=c++14 change directly to the
>> >> branch (and none of the other renaming) seems like a good idea to me.
>> >
>> > Bill, what are your thoughts on this idea?
>> >
>> > ~Aaron
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>
Index: include/clang/Frontend/LangStandards.def
===================================================================
--- include/clang/Frontend/LangStandards.def	(revision 215976)
+++ include/clang/Frontend/LangStandards.def	(working copy)
@@ -108,12 +108,19 @@
              LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode)
 
 LANGSTANDARD(cxx1y, "c++1y",
-             "Working draft for ISO C++ 2014",
+             "ISO C++ 2014 with amendments",
              LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus1y | Digraphs)
+LANGSTANDARD(cxx14, "c++14",
+             "ISO C++ 2014 with amendments",
+             LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus1y | Digraphs)
 LANGSTANDARD(gnucxx1y, "gnu++1y",
-             "Working draft for ISO C++ 2014 with GNU extensions",
+             "ISO C++ 2014 with amendments and GNU extensions",
              LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus1y | Digraphs |
              GNUMode)
+LANGSTANDARD(gnucxx14, "gnu++14",
+             "ISO C++ 2014 with amendments and GNU extensions",
+             LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus1y | Digraphs |
+             GNUMode)
 
 LANGSTANDARD(cxx1z, "c++1z",
              "Working draft for ISO C++ 2017",

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to