[PATCH] D17586: Add a new check, readability-redundant-string-init, that checks unnecessary string initializations.

Shuai Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 12:50:02 PST 2016


shuaiwang updated this revision to Diff 49108.
shuaiwang added a comment.

more test cases


http://reviews.llvm.org/D17586

Files:
  clang-tidy/ClangTidyDiagnosticConsumer.cpp
  clang-tidy/ClangTidyDiagnosticConsumer.h
  clang-tidy/readability/CMakeLists.txt
  clang-tidy/readability/ReadabilityTidyModule.cpp
  clang-tidy/readability/RedundantStringInitCheck.cpp
  clang-tidy/readability/RedundantStringInitCheck.h
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/readability-redundant-string-init.rst
  test/clang-tidy/readability-redundant-string-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17586.49108.patch
Type: text/x-patch
Size: 10137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160225/5b240498/attachment.bin>


More information about the cfe-commits mailing list