[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
Thu Apr 19 17:52:34 PDT 2018


shuaiwang updated this revision to Diff 143204.
shuaiwang marked 7 inline comments as done.
shuaiwang added a comment.

Addressed review comments.


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.143204.patch
Type: text/x-patch
Size: 11564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180420/a782fa40/attachment-0001.bin>


More information about the cfe-commits mailing list