tree-core: clarify clobber comments
commitefab88888c1b692ab080bcee99a6ef7ba6ee43ed
authorJason Merrill <jason@redhat.com>
Thu, 22 Feb 2024 10:06:27 +0000 (22 10:06 +0000)
committerJason Merrill <jason@redhat.com>
Thu, 14 Mar 2024 21:14:19 +0000 (14 17:14 -0400)
treec99763b04ebed017d8c9c20642f25112e7f01f2a
parent6dbf0d252f69ab2924256e6778ba7dc55d5b6915
tree-core: clarify clobber comments

It came up on the mailing list that OBJECT_BEGIN/END are described as
marking object lifetime, but mark the beginning of the constructor and end
of the destructor, whereas the C++ notion of lifetime is between the end of
the constructor and beginning of the destructor.  So let's fix the comments.

gcc/ChangeLog:

* tree-core.h (enum clobber_kind): Clarify CLOBBER_OBJECT_*
comments.
gcc/tree-core.h