mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 02:26:27 +08:00
Remove unused LangOpts private variable in HeaderSearch.
Was causing warnings during the build. llvm-svn: 267805
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user