[PATCH] D16529: [clang-tidy] Add modernize-raw-string-literal check

Richard via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 28 18:59:29 PST 2016


LegalizeAdulthood updated this revision to Diff 46333.
LegalizeAdulthood marked 3 inline comments as done.
LegalizeAdulthood added a comment.
Herald added a subscriber: klimek.

Update from review comments.
Extend analysis of newlines to prevent pathological raw strings from being introduced.
Extend the documentation to provide more examples of strings that are modified or not modified and explain the reasoning.


http://reviews.llvm.org/D16529

Files:
  Makefile
  clang-apply-replacements/Makefile
  clang-apply-replacements/lib/Tooling/Makefile
  clang-apply-replacements/tool/Makefile
  clang-query/Makefile
  clang-query/tool/Makefile
  clang-rename/Makefile
  clang-rename/tool/Makefile
  clang-tidy/Makefile
  clang-tidy/cert/Makefile
  clang-tidy/cppcoreguidelines/Makefile
  clang-tidy/google/Makefile
  clang-tidy/llvm/Makefile
  clang-tidy/misc/AssertSideEffectCheck.cpp
  clang-tidy/misc/Makefile
  clang-tidy/misc/VirtualNearMissCheck.cpp
  clang-tidy/modernize/CMakeLists.txt
  clang-tidy/modernize/Makefile
  clang-tidy/modernize/ModernizeTidyModule.cpp
  clang-tidy/modernize/RawStringLiteralCheck.cpp
  clang-tidy/modernize/RawStringLiteralCheck.h
  clang-tidy/performance/Makefile
  clang-tidy/readability/IdentifierNamingCheck.cpp
  clang-tidy/readability/Makefile
  clang-tidy/tool/Makefile
  clang-tidy/utils/Makefile
  docs/Makefile
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/modernize-raw-string-literal.rst
  modularize/Makefile
  pp-trace/Makefile
  test/Makefile
  test/clang-tidy/misc-assert-side-effect.cpp
  test/clang-tidy/misc-virtual-near-miss.cpp
  test/clang-tidy/modernize-raw-string-literal.cpp
  tool-template/Makefile
  unittests/Makefile
  unittests/clang-apply-replacements/Makefile
  unittests/clang-query/Makefile
  unittests/clang-rename/Makefile
  unittests/clang-tidy/IncludeInserterTest.cpp
  unittests/clang-tidy/Makefile

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16529.46333.patch
Type: text/x-patch
Size: 53123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160129/e5677227/attachment-0001.bin>


More information about the cfe-commits mailing list