[PATCH] Correctly implement -include search logic.
Manuel Klimek
klimek at google.com
Tue Aug 12 01:35:32 PDT 2014
Committed as r215433. Thx.
================
Comment at: lib/Frontend/InitPreprocessor.cpp:69
@@ -72,1 +68,3 @@
+static void AddImplicitInclude(MacroBuilder &Builder, StringRef File) {
+ Builder.append(Twine("#include \"") + File + "\"");
}
----------------
Richard Smith wrote:
> Please include a comment here indicating that header search will search the current working directory for includes in the buffer.
Done.
http://reviews.llvm.org/D4823
More information about the cfe-commits
mailing list