Now committed.

On 8/31/26 18:38, François Dumont wrote:
I initially planned to commit this directly as trivial but as I'm not a Doxygen expert, maybe there is something better to do.

Without any feedback I plan to commit in a couple of days.

    libstdc++: [_GLIBCXX_DEBUG] Fix safe.base.h comments


    'Likewise' was used to start the documentation of some methods. This is bad     practice because in one case the method had been moved and so was not anymore     next to the other method this 'likewise' was referring to. And more generally,     when documentation is consulted through the Doxygen generated files, the
    'Likewise' is then not referring to any meaningful context.

    'Likewise' is replaced by 'Like <method-name>'.

    libstdc++-v3/ChangeLog:

            * include/debug/safe_base.h
            (_Safe_iterator_base::_M_attach_single): Adapt comment to refer to _M_attach.
            (_Safe_iterator_base::_M_detach): Fix comment typo.
            (_Safe_iterator_base::_M_detach_single): Adapt comment to refer to _M_detach.             (_Safe_sequence_base::_M_attach_single): Adapt comment to refer to _M_attach.             (_Safe_sequence_base::_M_detach_single): Adapt comment to refer to _M_detach.

Tested under Linux x86_64 _GLIBCXX_DEBUG mode just to check that comment is still consider as such.

François

Reply via email to