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

2021-02-22 Thread David Crook via Phabricator via cfe-commits
Vexthil added a comment. .. And yes I will need someone to commit this for me I believe once you are happy with it. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96147/new/ https://reviews.llvm.org/D96147 ___ cfe-commits mailing list cfe-com

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

2021-02-22 Thread David Crook via Phabricator via cfe-commits
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/Diagnosti

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

2021-02-20 Thread David Crook via Phabricator via cfe-commits
Vexthil updated this revision to Diff 325256. Vexthil added a comment. Fixing clang format issues. The SemaDecl.cpp has a pile of incorrect clang format issues but i've only updated changes relevant to changes I have made Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https:

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

2021-02-20 Thread David Crook via Phabricator via cfe-commits
Vexthil updated this revision to Diff 325252. Vexthil added a comment. Update with changes suggested by @rsmith . Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96147/new/ https://reviews.llvm.org/D96147 Files: clang/docs/ReleaseNotes.rst clang

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

2021-02-06 Thread David Crook via Phabricator via cfe-commits
Vexthil updated this revision to Diff 321930. Vexthil added a comment. Fixed the update by doing a full diff rather than just the additive update CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96147/new/ https://reviews.llvm.org/D96147 Files: clang/docs/ReleaseNotes.rst clang/includ

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

2021-02-05 Thread David Crook via Phabricator via cfe-commits
Vexthil updated this revision to Diff 321860. Vexthil added a comment. Updating clang format Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96147/new/ https://reviews.llvm.org/D96147 Files: clang/include/clang/Sema/Sema.h Index: clang/include/c

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

2021-02-05 Thread David Crook via Phabricator via cfe-commits
Vexthil added a comment. I have no idea what this error means or what to do about it i'm afraid but it does not look related to the changes I have made. I also do not have access to a Linux machine easily so reproducing it locally is not going to be easy. If anyone knows this error better and c

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

2021-02-05 Thread David Crook via Phabricator via cfe-commits
Vexthil created this revision. Vexthil added a reviewer: rsmith. Vexthil added a project: clang. Vexthil requested review of this revision. Herald added a subscriber: cfe-commits. https://bugs.llvm.org/show_bug.cgi?id=40858 CheckShadow is now called for each binding in the structured binding to m