[PATCH] D26672: Avoid -Wshadow warnings for parameters that shadow fields in setter-like methods

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 15 08:00:21 PST 2016


arphaman updated this revision to Diff 78004.
arphaman added a comment.

The updated patch fixes a copy-pasted comment.


Repository:
  rL LLVM

https://reviews.llvm.org/D26672

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaExpr.cpp
  test/SemaCXX/warn-shadow-in-setter-methods.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26672.78004.patch
Type: text/x-patch
Size: 10866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161115/748b67b4/attachment-0001.bin>


More information about the cfe-commits mailing list