diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-18 05:21:59 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-18 05:21:59 +0000 |
commit | 1a1e9955b3221822f8f2cd100be9b090168bfb78 (patch) | |
tree | 34c117075db47182198a1a0f09c22a01fc781f54 | |
parent | be2fa7ebf01259b63dc52fe46c8d101c18e72269 (diff) |
Remove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164103 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Lex/HeaderSearch.h | 1 | ||||
-rw-r--r-- | lib/Lex/HeaderSearch.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Lex/HeaderSearch.h b/include/clang/Lex/HeaderSearch.h index 2b5ebc2636..9687793d67 100644 --- a/include/clang/Lex/HeaderSearch.h +++ b/include/clang/Lex/HeaderSearch.h @@ -132,7 +132,6 @@ class HeaderSearch { }; FileManager &FileMgr; - DiagnosticsEngine &Diags; /// \#include search path information. Requests for \#include "x" search the /// directory of the \#including file first, then each directory in SearchDirs /// consecutively. Requests for <x> search the current dir first, then each diff --git a/lib/Lex/HeaderSearch.cpp b/lib/Lex/HeaderSearch.cpp index bb3a67378a..e793ea17e8 100644 --- a/lib/Lex/HeaderSearch.cpp +++ b/lib/Lex/HeaderSearch.cpp @@ -41,7 +41,7 @@ ExternalHeaderFileInfoSource::~ExternalHeaderFileInfoSource() {} HeaderSearch::HeaderSearch(FileManager &FM, DiagnosticsEngine &Diags, const LangOptions &LangOpts, const TargetInfo *Target) - : FileMgr(FM), Diags(Diags), FrameworkMap(64), + : FileMgr(FM), FrameworkMap(64), ModMap(FileMgr, *Diags.getClient(), LangOpts, Target) { AngledDirIdx = 0; |