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
- rL LLVM
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 ↗ | (On Diff #125486) | Add a colon after are. |