[PATCH] [ms compatibility] Fix for PR9984.

David Majnemer david.majnemer at gmail.com
Thu Dec 11 20:39:45 PST 2014


Can we get rid of our `kw_L__FUNCTION__` hack with this change?


================
Comment at: lib/Lex/TokenLexer.cpp:524
@@ -515,2 +523,3 @@
     PasteOpLoc = Tokens[CurToken].getLocation();
-    ++CurToken;
+    if (Tokens[CurToken].is(tok::hashhash))
+      ++CurToken;
----------------
What's the rationale behind this change?

http://reviews.llvm.org/D6604

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






More information about the cfe-commits mailing list