[PATCH] D19331: [Clang-tidy] Fix for crash in modernize-raw-string-literal check

Marek via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 20 23:48:40 PDT 2016


edyp87 added a comment.

Yes, please apply this patch for me.

As for macro cases - I also thought about this but check's author has taken care of macros in `check()` method :

  void RawStringLiteralCheck::check(const MatchFinder::MatchResult &Result) {
     [...]
     if (Literal->getLocStart().isMacroID())
       return;
     [...]
  }

Thank you for quick review!


http://reviews.llvm.org/D19331





More information about the cfe-commits mailing list