aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-11 21:44:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-11 21:44:21 +0000
commit5814e657c9ad9ef6049a2a4af0d2aad248a8a15c (patch)
tree94da8b15e186ca4e6859d8a0d66e738ca8bbb73f /include/clang/Frontend
parentca11f61233b2acc266f371816e48290af4e10528 (diff)
Allow Preprocessor to take ownership of the HeaderSearch object. I think it should probably always own the header search object, but I'm not sure...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r--include/clang/Frontend/Utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Frontend/Utils.h b/include/clang/Frontend/Utils.h
index 5526dfdb32..cc0d1b5671 100644
--- a/include/clang/Frontend/Utils.h
+++ b/include/clang/Frontend/Utils.h
@@ -41,8 +41,9 @@ class Stmt;
class TargetInfo;
/// Apply the header search options to get given HeaderSearch object.
-void ApplyHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
- HeaderSearch &HS, const LangOptions &Lang,
+void ApplyHeaderSearchOptions(HeaderSearch &HS,
+ const HeaderSearchOptions &HSOpts,
+ const LangOptions &Lang,
const llvm::Triple &triple);
/// InitializePreprocessor - Initialize the preprocessor getting it and the