aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/Utils.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-07 04:20:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-07 04:20:15 +0000
commit8863b985f1cf78a2fb62913e184dc45162853cf9 (patch)
tree95fb53eec9e1d1dc2e73f8fc5d7c968847694e0f /include/clang/Frontend/Utils.h
parent750156aec27f66ddd53bf05bde34f147e73e7769 (diff)
Rename PreprocessorInitOptions to PreprocessorOptions for consistency, and fix
filenames. Also, move InitializePreprocessor to Utils.h. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/Utils.h')
-rw-r--r--include/clang/Frontend/Utils.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/include/clang/Frontend/Utils.h b/include/clang/Frontend/Utils.h
index 3c67028654..480e46ab72 100644
--- a/include/clang/Frontend/Utils.h
+++ b/include/clang/Frontend/Utils.h
@@ -23,16 +23,23 @@ class raw_fd_ostream;
}
namespace clang {
-class Preprocessor;
-class MinimalAction;
-class TargetInfo;
-class Diagnostic;
class ASTConsumer;
+class Decl;
+class Diagnostic;
class IdentifierTable;
-class SourceManager;
class LangOptions;
-class Decl;
+class MinimalAction;
+class Preprocessor;
+class PreprocessorOptions;
+class SourceManager;
class Stmt;
+class TargetInfo;
+
+/// InitializePreprocessor - Initialize the preprocessor getting it and the
+/// environment ready to process a single file.
+///
+void InitializePreprocessor(Preprocessor &PP,
+ const PreprocessorOptions &PPOpts);
/// ProcessWarningOptions - Initialize the diagnostic client and process the
/// warning options specified on the command line.