[PATCH] D45702: [clang-tidy] Add a new check, readability-redundant-data-call, that finds and removes redundant calls to .data().

Shuai Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 16 14:44:52 PDT 2018


shuaiwang created this revision.
Herald added subscribers: cfe-commits, xazax.hun, mgorny, klimek.
shuaiwang added a reviewer: sbenza.

Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45702

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45702.142701.patch
Type: text/x-patch
Size: 12062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180416/17433cfa/attachment.bin>


More information about the cfe-commits mailing list