[PATCH] D45932: [clang-tidy][modernize-raw-string-literal] Don't replace upper ASCII with raw literals
Richard via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 23 12:37:51 PDT 2018
LegalizeAdulthood added inline comments.
================
Comment at: test/clang-tidy/modernize-raw-string-literal.cpp:44
+char const *const MultibyteSnowman("\xE2\x98\x83");
+// CHECK-FIXES: {{^}}char const *const MultibyteSnowman("\xE2\x98\x83");{{$}}
----------------
IIRC, the default behavior is that if no matching CHECK-FIXES line is found, then it is considered a failure. Have you tried your test code without your change to verify that this is the case?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45932
More information about the cfe-commits
mailing list