[PATCH] D146897: [clang:diagnostics] Turning off warn_self_assignment_overloaded for user-defined compound assignments

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 11:09:26 PDT 2023


dblaikie added a comment.

> we should probably warn about all inconsistent references to the same variable within a single statement.

+1 here, that that seems like the suitable generalization/unrelated to the use in/restriction to assignments


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146897/new/

https://reviews.llvm.org/D146897



More information about the cfe-commits mailing list