[PATCH] D45685: [Sema] Add -wtest global flag that silences -Wself-assign for overloaded operators.

Brooks Moses via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 18 10:22:38 PDT 2018


brooksmoses added a comment.

Thanks for the summary, John.  To confirm, I found two examples of bugs involving local variables, as well as the field-based examples.  And, indeed, all of the false positives were in unit tests.


Repository:
  rC Clang

https://reviews.llvm.org/D45685





More information about the cfe-commits mailing list