summaryrefslogtreecommitdiff
path: root/gcc/c-family
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2017-01-10 19:04:28 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2017-01-10 19:04:28 +0000
commit3386344d37b9ea19c671166d54090c409646b59e (patch)
tree0c6c95635bc46197046b642d98d15a215c41b727 /gcc/c-family
parent593b46d1a2f2c220f848e1250ec52879d7a97723 (diff)
downloadgcc-3386344d37b9ea19c671166d54090c409646b59e.tar.gz
* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_variadic_using.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244283 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family')
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c-family/c-cppbuiltin.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 968d4839834..a7f2f0d6eb1 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-10 Jason Merrill <jason@redhat.com>
+
+ Implement P0195R2, C++17 variadic using.
+ * c-cppbuiltin.c (c_cpp_builtins): Define __cpp_variadic_using.
+
2017-01-09 Jakub Jelinek <jakub@redhat.com>
PR translation/79019
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c
index 2115099a556..c114bbd6d88 100644
--- a/gcc/c-family/c-cppbuiltin.c
+++ b/gcc/c-family/c-cppbuiltin.c
@@ -970,6 +970,7 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define (pfile, "__cpp_noexcept_function_type=201510");
cpp_define (pfile, "__cpp_template_auto=201606");
cpp_define (pfile, "__cpp_structured_bindings=201606");
+ cpp_define (pfile, "__cpp_variadic_using=201611");
}
if (flag_concepts)
cpp_define (pfile, "__cpp_concepts=201507");