[PATCH] D129202: [clang] Add a fixit for warn-self-assign if LHS is a field with the same name as parameter on RHS

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 6 23:21:42 PDT 2022


njames93 updated this revision to Diff 442788.
njames93 marked an inline comment as done.
njames93 added a comment.

Address comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129202

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaExpr.cpp
  clang/test/SemaCXX/warn-self-assign-builtin.cpp
  clang/test/SemaCXX/warn-self-assign-field-builtin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129202.442788.patch
Type: text/x-patch
Size: 4084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220707/9297fcd7/attachment.bin>


More information about the cfe-commits mailing list