aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/Utils.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-11 21:44:42 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-11 21:44:42 +0000
commit961c76ea8d5089293e448e5d538570653e28080c (patch)
treedd1b2923d51e7569662cdacddaaf669e845fd05d /include/clang/Frontend/Utils.h
parent5814e657c9ad9ef6049a2a4af0d2aad248a8a15c (diff)
Always initialize the header search object as part of InitializePreprocessor;
not doing this has little to no utility. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86883 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/Utils.h')
-rw-r--r--include/clang/Frontend/Utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Frontend/Utils.h b/include/clang/Frontend/Utils.h
index cc0d1b5671..60c0f226ef 100644
--- a/include/clang/Frontend/Utils.h
+++ b/include/clang/Frontend/Utils.h
@@ -48,9 +48,9 @@ void ApplyHeaderSearchOptions(HeaderSearch &HS,
/// InitializePreprocessor - Initialize the preprocessor getting it and the
/// environment ready to process a single file.
-///
void InitializePreprocessor(Preprocessor &PP,
- const PreprocessorOptions &PPOpts);
+ const PreprocessorOptions &PPOpts,
+ const HeaderSearchOptions &HSOpts);
/// ProcessWarningOptions - Initialize the diagnostic client and process the
/// warning options specified on the command line.