Modify

#12184 closed Bugs (fixed)

clang -Wdocumentation warning

Reported by: gonzalobg88@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: intrusive
Version: Boost 1.61.0 Severity: Cosmetic
Keywords: Cc:

Description

I get the following documentation warning (-Wdocumentation) with clang:

include/boost/intrusive/slist.hpp:1208:55: warning: not a Doxygen trailing comment [-Wdocumentation]

const_iterator last_x(x.previous(x.end())); <- constant time if cache_last is active

~ /<

It's not serious but since "<" looks like, but is not, a Doxygen documentation comment clang warns about it. Switching from "<" to "" in the following line resolves the issue for me:

https://github.com/boostorg/intrusive/blob/develop/include/boost/intrusive/slist.hpp#L1268

Attachments (0)

Change History (1)

comment:1 Changed 15 months ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.