[clang] [clang][Sema] Fix false positive -Wshadow with structured binding captures (PR #157667)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 10 06:03:37 PDT 2025
================
@@ -8410,6 +8410,7 @@ NamedDecl *Sema::getShadowedDeclaration(const VarDecl *D,
return nullptr;
NamedDecl *ShadowedDecl = R.getFoundDecl();
+
----------------
Fznamznon wrote:
Seems unrelated.
```suggestion
```
https://github.com/llvm/llvm-project/pull/157667
More information about the cfe-commits
mailing list