Opened 6 years ago

Closed 6 years ago

#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

Change History (1)

comment:1 by Ion Gaztañaga, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.