forked from OSchip/llvm-project
Remove unused LangOpts private variable in HeaderSearch.
Was causing warnings during the build. llvm-svn: 267805
This commit is contained in:
parent
1c6fc20608
commit
610954a5c9
|
@ -241,8 +241,6 @@ class HeaderSearch {
|
|||
unsigned NumMultiIncludeFileOptzn;
|
||||
unsigned NumFrameworkLookups, NumSubFrameworkLookups;
|
||||
|
||||
const LangOptions &LangOpts;
|
||||
|
||||
// HeaderSearch doesn't support default or copy construction.
|
||||
HeaderSearch(const HeaderSearch&) = delete;
|
||||
void operator=(const HeaderSearch&) = delete;
|
||||
|
|
|
@ -56,8 +56,7 @@ HeaderSearch::HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts,
|
|||
const LangOptions &LangOpts,
|
||||
const TargetInfo *Target)
|
||||
: HSOpts(HSOpts), Diags(Diags), FileMgr(SourceMgr.getFileManager()),
|
||||
FrameworkMap(64), ModMap(SourceMgr, Diags, LangOpts, Target, *this),
|
||||
LangOpts(LangOpts) {
|
||||
FrameworkMap(64), ModMap(SourceMgr, Diags, LangOpts, Target, *this) {
|
||||
AngledDirIdx = 0;
|
||||
SystemDirIdx = 0;
|
||||
NoCurDirSearch = false;
|
||||
|
|
Loading…
Reference in New Issue