diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-26 18:15:29 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-26 18:15:29 +0000 |
commit | 4b53bc0f989bb7e98b21494a7a92302f324594d0 (patch) | |
tree | d199320e18256021973a188688722031198ee26f /gcc/c-family/c-common.h | |
parent | 8f7fba47709c962b8073f75405acc443acff905c (diff) | |
download | gcc-4b53bc0f989bb7e98b21494a7a92302f324594d0.tar.gz |
* c-common.h (enum cxx_dialect): Add cxx1z.
* c.opt (std=c++1z, std=c++17, std=gnu++1z, std=gnu++17): New.
* c-opts.c (c_common_handle_option, set_std_cxx1z): Handle it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212042 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r-- | gcc/c-family/c-common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index 8e06487d117..3e8c8e716f8 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -640,8 +640,10 @@ enum cxx_dialect { /* C++11 */ cxx0x, cxx11 = cxx0x, - /* C++1y (C++17?) */ - cxx1y + /* C++1y (C++14?) */ + cxx1y, + /* C++1z (C++17?) */ + cxx1z }; /* The C++ dialect being used. C++98 is the default. */ |