[PATCH] D45702: [clang-tidy] Add a new check, readability-simplify-subscript-expr, that simplifies subscript expressions.

Shuai Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 13 10:01:07 PDT 2018


shuaiwang updated this revision to Diff 146514.
shuaiwang marked 10 inline comments as done.
shuaiwang added a comment.

Rename to readability-simplify-subscript-expr and addressed other 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/SimplifySubscriptExprCheck.cpp
  clang-tidy/readability/SimplifySubscriptExprCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/readability-simplify-subscript-expr.rst
  test/clang-tidy/readability-simplify-subscript-expr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45702.146514.patch
Type: text/x-patch
Size: 11387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180513/5e9caaa0/attachment.bin>


More information about the cfe-commits mailing list