Opened 6 years ago
Closed 6 years ago
#12184 closed Bugs (fixed)
clang -Wdocumentation warning
Reported by: | 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
Note:
See TracTickets
for help on using tickets.
Thanks for the report. Fixed in commit:
https://github.com/boostorg/intrusive/commit/56e2e4345a7d0bc80536747f2b2d916ff98c0ccc