[PATCH] D96147: [SEMA] Added warn_decl_shadow support for structured bindings
David Crook via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 5 13:13:28 PST 2021
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/clang/Sema/Sema.h
===================================================================
--- clang/include/clang/Sema/Sema.h
+++ clang/include/clang/Sema/Sema.h
@@ -2598,7 +2598,8 @@
NamedDecl *getShadowedDeclaration(const TypedefNameDecl *D,
const LookupResult &R);
NamedDecl *getShadowedDeclaration(const VarDecl *D, const LookupResult &R);
- NamedDecl *getShadowedDeclaration(const BindingDecl *D, const LookupResult &R);
+ NamedDecl *getShadowedDeclaration(const BindingDecl *D,
+ const LookupResult &R);
void CheckShadow(NamedDecl *D, NamedDecl *ShadowedDecl,
const LookupResult &R);
void CheckShadow(Scope *S, VarDecl *D);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96147.321860.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210205/5d024936/attachment.bin>
More information about the cfe-commits
mailing list