leanil added inline comments.

================
Comment at: test/clang-tidy/modernize-raw-string-literal.cpp:94
 
+char const *const Concatenated("\"foo\""
+                               "\"bar\"");
----------------
alexfh wrote:
> Does this test fail without the patch? Also, should there be a test covering 
> the case where no replacement is made (and the current code issues a warning)?
No, it doesn't. This is to check that MeasureTokenLength works as I expect. It 
wouldn't warn if it measured the two parts separately.
And I left the check here for those who may have the same concerns, although 
it's indeed not the core functionality I test here. Should I remove it?


https://reviews.llvm.org/D28667



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

Reply via email to