Opened 13 years ago
Closed 13 years ago
#3055 closed Bugs (fixed)
Inspect tool should ignore min/max violations in comments
Reported by: | Jeremiah Willcock | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | inspection script |
Version: | Boost 1.38.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Although some min/max issues in source code comments are intended to show usage of the library and should follow the Boost guidelines, most are just using min and max in their everyday meanings and will not be expanded as macros. The inspect tool should ignore these. The file boost/asio/buffer.hpp has many cases of this; it uses min and max only in comments and receives many inspection failures because of it.
Note:
See TracTickets
for help on using tickets.
(In [53144]) Filter out comments and string literals in the min/max check. Fixes #3055