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

Richard via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 27 12:13:17 PST 2016


LegalizeAdulthood added inline comments.

================
Comment at: clang-tidy/modernize/RawStringLiteralCheck.cpp:107
@@ +106,3 @@
+  if (const auto *Literal = Result.Nodes.getNodeAs<StringLiteral>("lit"))
+    preferRawStringLiterals(Result, Literal);
+}
----------------
alexfh wrote:
> I don't see a reason to have a separate function, I'd just inline it here.
There is no reason to inline it.


http://reviews.llvm.org/D16529





More information about the cfe-commits mailing list