================
Comment at: clang-tidy/readability/RemoveVoidArg.cpp:164
@@ +163,3 @@
+    const MatchFinder::MatchResult &Result, SourceLocation StartLoc,
+    const std::string &DeclText, const StringRef GrammarLocation) {
+  clang::Lexer PrototypeLexer(StartLoc, Result.Context->getLangOpts(),
----------------
alexfh wrote:
> s/const std::string&/StringRef/, s/const StringRef/StringRef/
DeclText needs to stay a std::string or lexing fails.

http://reviews.llvm.org/D7639

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to