diff options
author | Marek Polacek <polacek@redhat.com> | 2016-09-29 16:04:17 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2016-09-29 16:04:17 +0000 |
commit | 0b4b9552ee6be2ac37b09193c07fae68028ed3dd (patch) | |
tree | dd545fd25429313ee8ec0433cab5358989899b1d /gcc/cp | |
parent | a181f672314a7f5e35c9fd2cef0f4816fbc64d55 (diff) | |
download | gcc-0b4b9552ee6be2ac37b09193c07fae68028ed3dd.zip gcc-0b4b9552ee6be2ac37b09193c07fae68028ed3dd.tar.gz gcc-0b4b9552ee6be2ac37b09193c07fae68028ed3dd.tar.bz2 |
rtti.c (involves_incomplete_p): Add fall through comment.
* rtti.c (involves_incomplete_p): Add fall through comment.
* dwarf2out.c (loc_descriptor): Add fall through comment.
(add_const_value_attribute): Likewise.
From-SVN: r240624
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/rtti.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0e18eb7..69bc095 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2016-09-29 Marek Polacek <polacek@redhat.com> + + * rtti.c (involves_incomplete_p): Add fall through comment. + 2016-09-28 Jakub Jelinek <jakub@redhat.com> PR c++/77467 diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 75aeb0b..a882761 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -855,7 +855,7 @@ involves_incomplete_p (tree type) case UNION_TYPE: if (!COMPLETE_TYPE_P (type)) return true; - + /* Fall through. */ default: /* All other types do not involve incomplete class types. */ return false; |