diff options
author | Jason Merrill <jason@redhat.com> | 2024-02-22 10:06:27 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-03-14 17:14:19 -0400 |
commit | efab88888c1b692ab080bcee99a6ef7ba6ee43ed (patch) | |
tree | c99763b04ebed017d8c9c20642f25112e7f01f2a /libcpp | |
parent | 6dbf0d252f69ab2924256e6778ba7dc55d5b6915 (diff) | |
download | gcc-efab88888c1b692ab080bcee99a6ef7ba6ee43ed.zip gcc-efab88888c1b692ab080bcee99a6ef7ba6ee43ed.tar.gz gcc-efab88888c1b692ab080bcee99a6ef7ba6ee43ed.tar.bz2 |
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.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions