diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-09 23:02:47 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-09 23:02:47 +0000 |
commit | 2cdafa8001ee69b75d2906cbb36f16cf8e1dc60a (patch) | |
tree | 6fd9b9a2beb62a64dca6a43d880c4999dbd65ee4 /include/clang/Frontend/Utils.h | |
parent | 26a0cac165aea204f661b8da7b167623b12ff143 (diff) |
Privatize InitHeaderSearch, this functionality is only exposed via
ApplyHeaderSearchOptions now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/Utils.h')
-rw-r--r-- | include/clang/Frontend/Utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/Frontend/Utils.h b/include/clang/Frontend/Utils.h index 480e46ab72..f0d61c7ae2 100644 --- a/include/clang/Frontend/Utils.h +++ b/include/clang/Frontend/Utils.h @@ -18,6 +18,7 @@ #include <string> namespace llvm { +class Triple; class raw_ostream; class raw_fd_ostream; } @@ -26,6 +27,8 @@ namespace clang { class ASTConsumer; class Decl; class Diagnostic; +class HeaderSearch; +class HeaderSearchOptions; class IdentifierTable; class LangOptions; class MinimalAction; @@ -35,6 +38,11 @@ class SourceManager; class Stmt; class TargetInfo; +/// Apply the header search options to get given HeaderSearch object. +void ApplyHeaderSearchOptions(const HeaderSearchOptions &HSOpts, + HeaderSearch &HS, const LangOptions &Lang, + const llvm::Triple &triple); + /// InitializePreprocessor - Initialize the preprocessor getting it and the /// environment ready to process a single file. /// |