[cfe-dev] Move InitializePreprocessor() to lib/Frontend from clang-cc
Chris Lattner
clattner at apple.com
Mon Apr 20 22:26:54 PDT 2009
On Apr 20, 2009, at 10:15 PM, Alexei Svitkine wrote:
> Here's an updated patch.
Thanks Alexei, getting better. Minor nit picks:
+//===--- InitPreprocessor.h - InitializePreprocessor function. --*- C+
+ -*-===//
..
+
+#include "llvm/Support/CommandLine.h"
Please don't include this here, it should just be in clang-cc.
+#include <algorithm>
This shouldn't be needed by the header.
+++ lib/Frontend/InitPreprocessor.cpp (revision 0)
@@ -0,0 +1,470 @@
+//===--- InitPreprocessor.h - InitializePreprocessor function. --*- C+
+ -*-===//
Please fix comment line.
+#include "llvm/Support/CommandLine.h"
Please remove this and any other dead #includes from the .cpp.
+// FIXME: -imacros
We support imacros now, this can be removed :)
Otherwise, looks great!
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090420/d60c6aa3/attachment.html>
More information about the cfe-dev
mailing list