[libcxx-commits] [openmp] [compiler-rt] [clang] [mlir] [libcxx] [libcxxabi] [clang-tools-extra] [libc] [flang] [llvm] [clang] Avoid -Wshadow warning when init-capture named same as class field (PR #74512)

Mariya Podchishchaeva via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 26 09:41:33 PST 2024


Fznamznon wrote:

Ok, now it emits `-Wshadow-uncaptured-local` when lambda doesn't capture this, and `-Wshadow` when it does.

https://github.com/llvm/llvm-project/pull/74512


More information about the libcxx-commits mailing list