alexfh added a comment.

1. Please generate diffs with full context when sending patches. Use any of the 
methods described in http://llvm.org/docs/Phabricator.html.


================
Comment at: clang-tidy/modernize/RawStringLiteralCheck.cpp:111
@@ -110,2 +110,3 @@
 void RawStringLiteralCheck::registerMatchers(MatchFinder *Finder) {
-  Finder->addMatcher(stringLiteral().bind("lit"), this);
+  const auto IsNotPredefinedExpr = unless(hasParent(predefinedExpr()));
+
----------------
No need in this variable.


Repository:
  rL LLVM

http://reviews.llvm.org/D19331



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to