[PATCH] D24656: [clang-tidy] Add check readability-redundant-declaration

Daniel Marjamäki via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 01:04:10 PDT 2016


danielmarjamaki set the repository for this revision to rL LLVM.
danielmarjamaki updated this revision to Diff 74478.
danielmarjamaki added a comment.
Herald added a subscriber: modocache.

changed cast<NamedDecl>(D)->getName() to cast<NamedDecl>(D)


Repository:
  rL LLVM

https://reviews.llvm.org/D24656

Files:
  clang-tidy/readability/CMakeLists.txt
  clang-tidy/readability/ReadabilityTidyModule.cpp
  clang-tidy/readability/RedundantDeclarationCheck.cpp
  clang-tidy/readability/RedundantDeclarationCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/readability-redundant-declaration.rst
  test/clang-tidy/readability-redundant-declaration.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24656.74478.patch
Type: text/x-patch
Size: 8132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161013/1d9499c0/attachment.bin>


More information about the cfe-commits mailing list