A user of the check opened a bugreport and reported that std::exchange
triggers a false positive. I adjusted the doc to include a list of known
(std) constructs that do trigger the issue with templates forgetting the
type alias.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 12753 Build 12753: arc lint + arc unit
Event Timeline
Comment Actions
This is reasonable, though if the list starts getting longer, we should consider trying to fix the bug rather than enumerate them.
docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst | ||
---|---|---|
115 | Add a colon after are. |
Add a colon after are.