diff options
author | Jason Merrill <jason@redhat.com> | 2023-04-13 02:11:22 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-04-13 14:59:31 -0400 |
commit | fdb8c06b3d6c1ec5fb517ce7d1a88ab1d8ec7958 (patch) | |
tree | 476a87141b52b7c045c45e1ce4c8da0a03a37353 /gcc/range-op-float.cc | |
parent | 9c2a5db997446a9438a3e01f5229dec3f78b09e7 (diff) | |
download | gcc-fdb8c06b3d6c1ec5fb517ce7d1a88ab1d8ec7958.zip gcc-fdb8c06b3d6c1ec5fb517ce7d1a88ab1d8ec7958.tar.gz gcc-fdb8c06b3d6c1ec5fb517ce7d1a88ab1d8ec7958.tar.bz2 |
c++: make cxx_incomplete_type_diagnostic return bool
Like other diagnostic functions that might be silenced by options, it should
return whether or not it actually emitted a diagnostic.
gcc/cp/ChangeLog:
* typeck2.cc (cxx_incomplete_type_diagnostic): Return bool.
* cp-tree.h (cxx_incomplete_type_diagnostic): Adjust.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions