[PATCH] D62479: Replace `CXXSelfAssignmentBRVisitor` with `NoteTags`
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 27 04:03:45 PDT 2019
baloghadamsoftware created this revision.
baloghadamsoftware added a reviewer: NoQ.
baloghadamsoftware added a project: clang.
Herald added subscribers: gamesh411, rnkovacs.
The `cplusplus.SelfAssignment` checker has a visitor that is added to every `BugReport` to mark the to branch of the self assignment operator with e.g. `rhs == *this` and `rhs != *this`. With the new `NoteTag` feature this visitor is not needed anymore. Instead the checker itself marks the two branches using the `NoteTag`s.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5779 bytes
Desc: not available
More information about the cfe-commits