[PATCH] D96147: [SEMA] Added warn_decl_shadow support for structured bindings

David Crook via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 22 14:53:03 PST 2021


Vexthil updated this revision to Diff 325578.
Vexthil added a comment.

Added unit tests for "shadows a structured binding"


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

https://reviews.llvm.org/D96147

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/test/SemaCXX/warn-shadow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96147.325578.patch
Type: text/x-patch
Size: 6428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210222/7c9200c8/attachment.bin>


More information about the cfe-commits mailing list