[PATCH] D28667: [clang-tidy] Don't modernize-raw-string-literal if replacement is longer.

AndrĂ¡s Leitereg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 12:42:37 PST 2017


leanil updated this revision to Diff 85014.
leanil added a comment.

Add config parameter to control new functionality.
Update the test cases accordingly.


https://reviews.llvm.org/D28667

Files:
  clang-tidy/modernize/RawStringLiteralCheck.cpp
  clang-tidy/modernize/RawStringLiteralCheck.h
  test/clang-tidy/modernize-raw-string-literal-delimiter.cpp
  test/clang-tidy/modernize-raw-string-literal-replace-shorter.cpp
  test/clang-tidy/modernize-raw-string-literal.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28667.85014.patch
Type: text/x-patch
Size: 5240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170119/26cb948e/attachment.bin>


More information about the cfe-commits mailing list