diff options
author | Jason Merrill <jason@redhat.com> | 2018-11-12 23:32:25 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-11-12 23:32:25 -0500 |
commit | e4bd6d5e1f4496e06ac2d08effa977b191b91a54 (patch) | |
tree | ec2a863eb0d992605e6d5f241174652201702f03 /gcc/c-family/c-cppbuiltin.c | |
parent | 7877f4e000e999a902cf2898a535ae8e8ad45a3f (diff) | |
download | gcc-e4bd6d5e1f4496e06ac2d08effa977b191b91a54.zip gcc-e4bd6d5e1f4496e06ac2d08effa977b191b91a54.tar.gz gcc-e4bd6d5e1f4496e06ac2d08effa977b191b91a54.tar.bz2 |
Change __cpp_explicit_bool to __cpp_conditional_explicit.
People objected to the old macro name as unclear, so it was changed.
* c-cppbuiltin.c (c_cpp_builtins): Change __cpp_explicit_bool to
__cpp_conditional_explicit.
From-SVN: r266050
Diffstat (limited to 'gcc/c-family/c-cppbuiltin.c')
-rw-r--r-- | gcc/c-family/c-cppbuiltin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c index e7f4c66..8dd6215 100644 --- a/gcc/c-family/c-cppbuiltin.c +++ b/gcc/c-family/c-cppbuiltin.c @@ -978,7 +978,7 @@ c_cpp_builtins (cpp_reader *pfile) if (cxx_dialect > cxx17) { /* Set feature test macros for C++2a. */ - cpp_define (pfile, "__cpp_explicit_bool=201806"); + cpp_define (pfile, "__cpp_conditional_explicit=201806"); cpp_define (pfile, "__cpp_nontype_template_parameter_class=201806"); } if (flag_concepts) |