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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 27 12:13:18 PST 2016


aaron.ballman added inline comments.

================
Comment at: clang-tidy/modernize/RawStringLiteralCheck.cpp:57
@@ +56,3 @@
+
+  // already a raw string literal if R comes before "
+  if (Text.find_first_of("R") < Text.find_first_of(R"(")"))
----------------
LegalizeAdulthood wrote:
> alexfh wrote:
> > nit: Capitalization, punctuation. Same for other comments in the file.
> I don't understand what exactly you are asking me to change.  There is something wrong with the comment?
` // already a raw string literal if R comes before "`

Should be:

` // Already a raw string literal if R comes before ".`


http://reviews.llvm.org/D16529





More information about the cfe-commits mailing list