diff options
author | Jason Merrill <jason@redhat.com> | 2020-05-11 14:05:46 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-05-11 15:09:42 -0400 |
commit | e5ccab839a24a9c5ac1ddbb6e0ad1c339df3165e (patch) | |
tree | 9da88fa1a19781b4a8783ecac449bbe134bb9370 /gcc/fortran/arith.c | |
parent | f3f9cc41a1a793375a9fff09bfb7a103ce259e07 (diff) | |
download | gcc-e5ccab839a24a9c5ac1ddbb6e0ad1c339df3165e.zip gcc-e5ccab839a24a9c5ac1ddbb6e0ad1c339df3165e.tar.gz gcc-e5ccab839a24a9c5ac1ddbb6e0ad1c339df3165e.tar.bz2 |
c++: Improve print_tree of static_assert.
We weren't printing the condition and message of a STATIC_ASSERT.
It's also unnecessary to duplicate the code for instantiating a
STATIC_ASSERT between tsubst_expr and instantiate_class_template_1.
gcc/cp/ChangeLog
2020-05-11 Jason Merrill <jason@redhat.com>
* pt.c (instantiate_class_template_1): Call tsubst_expr for
STATIC_ASSERT member.
* ptree.c (cxx_print_xnode): Handle STATIC_ASSERT.
Diffstat (limited to 'gcc/fortran/arith.c')
0 files changed, 0 insertions, 0 deletions