[clang] [clang] Avoid -Wshadow warning when init-capture named same as class field (PR #74512)
    via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Dec  5 12:09:28 PST 2023
    
    
  
================
@@ -655,6 +655,9 @@ Bug Fixes in This Version
   Fixes (`#64467 <https://github.com/llvm/llvm-project/issues/64467>`_)
 - Clang's ``-Wchar-subscripts`` no longer warns on chars whose values are known non-negative constants.
   Fixes (`#18763 <https://github.com/llvm/llvm-project/issues/18763>`_)
+- Clang's ``-Wshadow`` no longer warns when init-capture named same as class
----------------
cor3ntin wrote:
```suggestion
- Clang's ``-Wshadow`` no longer warns when an init-capture is named the same as a class field.
```
https://github.com/llvm/llvm-project/pull/74512
    
    
More information about the cfe-commits
mailing list