summaryrefslogtreecommitdiff
path: root/lib/Lex/HeaderSearch.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-12-16 14:57:22 +0000
committerDaniel Jasper <djasper@google.com>2013-12-16 14:57:22 +0000
commit7807f00835ab028596fc3e0455ddd441a0e3c7ef (patch)
tree9766b18c1836e62cb122ff28474d5fcf5ebe8171 /lib/Lex/HeaderSearch.cpp
parent013d811a7bab86d727278f31445c5eb5b2cdb407 (diff)
downloadclang-7807f00835ab028596fc3e0455ddd441a0e3c7ef.tar.gz
clang-7807f00835ab028596fc3e0455ddd441a0e3c7ef.tar.bz2
clang-7807f00835ab028596fc3e0455ddd441a0e3c7ef.tar.xz
Revert "Modules: Make missing headers in a module.map a warning not an error."
This was committed accidentally. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/HeaderSearch.cpp')
-rw-r--r--lib/Lex/HeaderSearch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/HeaderSearch.cpp b/lib/Lex/HeaderSearch.cpp
index 254c0293df..5770aaadf4 100644
--- a/lib/Lex/HeaderSearch.cpp
+++ b/lib/Lex/HeaderSearch.cpp
@@ -48,7 +48,7 @@ HeaderSearch::HeaderSearch(IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts,
const LangOptions &LangOpts,
const TargetInfo *Target)
: HSOpts(HSOpts), FileMgr(SourceMgr.getFileManager()), FrameworkMap(64),
- ModMap(SourceMgr, Diags, LangOpts, Target, *this)
+ ModMap(SourceMgr, *Diags.getClient(), LangOpts, Target, *this)
{
AngledDirIdx = 0;
SystemDirIdx = 0;