[PATCH] D26448: Avoid -Wshadow warnings for shadowed variables that aren't captured by lambdas with a default capture specifier

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 10 08:28:58 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL286465: [Sema] Avoid -Wshadow warnings for shadowed variables that (authored by arphaman).

Changed prior to commit:
  https://reviews.llvm.org/D26448?vs=77335&id=77492#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26448

Files:
  cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
  cfe/trunk/include/clang/Sema/ScopeInfo.h
  cfe/trunk/include/clang/Sema/Sema.h
  cfe/trunk/lib/Sema/SemaDecl.cpp
  cfe/trunk/lib/Sema/SemaLambda.cpp
  cfe/trunk/test/SemaCXX/warn-shadow-in-lambdas.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26448.77492.patch
Type: text/x-patch
Size: 10079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161110/9a059d6a/attachment-0001.bin>


More information about the cfe-commits mailing list