[PATCH] lex: improve include handling on Linux for Windows

David Majnemer david.majnemer at gmail.com
Thu Mar 6 14:52:55 PST 2014


  LGTM


================
Comment at: lib/Lex/PPDirectives.cpp:1453
@@ -1451,1 +1452,3 @@
   SourceLocation FilenameLoc = FilenameTok.getLocation();
+  SmallString<1024> NormalizedPath;
+  if (LangOpts.MSVCCompat) {
----------------
Another 1k of stack for a relatively rare case :/


http://llvm-reviews.chandlerc.com/D2994



More information about the cfe-commits mailing list