[PATCH] Correctly implement -include search logic.

Richard Smith richard at metafoo.co.uk
Mon Aug 11 11:00:12 PDT 2014


LGTM

================
Comment at: lib/Frontend/InitPreprocessor.cpp:69
@@ -72,1 +68,3 @@
+static void AddImplicitInclude(MacroBuilder &Builder, StringRef File) {
+  Builder.append(Twine("#include \"") + File + "\"");
 }
----------------
Please include a comment here indicating that header search will search the current working directory for includes in the buffer.

http://reviews.llvm.org/D4823






More information about the cfe-commits mailing list