aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/HeaderSearch.cpp
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-04-27 22:28:32 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-04-27 22:28:32 +0000
commit610954a5c90eb9533dbdc2e30d7b0f1146ff5b4f (patch)
treefe6cb856181bf3a0adcc4836f6d7202ea5d83510 /clang/lib/Lex/HeaderSearch.cpp
parent1c6fc20608e70eea481285ed29e9131cd3652191 (diff)
downloadllvm-610954a5c90eb9533dbdc2e30d7b0f1146ff5b4f.zip
llvm-610954a5c90eb9533dbdc2e30d7b0f1146ff5b4f.tar.gz
llvm-610954a5c90eb9533dbdc2e30d7b0f1146ff5b4f.tar.bz2
Remove unused LangOpts private variable in HeaderSearch.
Was causing warnings during the build. llvm-svn: 267805
Diffstat (limited to 'clang/lib/Lex/HeaderSearch.cpp')
-rw-r--r--clang/lib/Lex/HeaderSearch.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Lex/HeaderSearch.cpp b/clang/lib/Lex/HeaderSearch.cpp
index 4e88248..e989e3d 100644
--- a/clang/lib/Lex/HeaderSearch.cpp
+++ b/clang/lib/Lex/HeaderSearch.cpp
@@ -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;