[PATCH] D36642: [Lexer] Report more precise skipped regions (PR34166)

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 23 13:58:12 PDT 2017


arphaman added inline comments.


================
Comment at: lib/Lex/PPDirectives.cpp:564
+  if (Callbacks)
+    Callbacks->SourceRangeSkipped(
+        SourceRange(HashToken.getLocation(), CurPPLexer->getSourceLocation()));
----------------
You'd have to update the pp-tests in clang-tools-extra too


https://reviews.llvm.org/D36642





More information about the cfe-commits mailing list