summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Lex
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-30 06:01:29 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-30 06:01:29 +0000
commit899292827456532bc66219f9d778595c57614f77 (patch)
treefa9971f4bad44e176c13d13bc80d68f4dce77e25 /clang/unittests/Lex
parent829400bb22fc72d291fd3e5057b0880d7b09aafa (diff)
downloadbcm5719-llvm-899292827456532bc66219f9d778595c57614f77.tar.gz
bcm5719-llvm-899292827456532bc66219f9d778595c57614f77.zip
Thread a TargetInfo through to the module map; we'll need it for
target-specific module requirements. llvm-svn: 149224
Diffstat (limited to 'clang/unittests/Lex')
-rw-r--r--clang/unittests/Lex/LexerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Lex/LexerTest.cpp b/clang/unittests/Lex/LexerTest.cpp
index de94d1d0164..2742f66663b 100644
--- a/clang/unittests/Lex/LexerTest.cpp
+++ b/clang/unittests/Lex/LexerTest.cpp
@@ -69,7 +69,7 @@ TEST_F(LexerTest, LexAPI) {
SourceMgr.createMainFileIDForMemBuffer(buf);
VoidModuleLoader ModLoader;
- HeaderSearch HeaderInfo(FileMgr, Diags, LangOpts);
+ HeaderSearch HeaderInfo(FileMgr, Diags, LangOpts, &*Target);
Preprocessor PP(Diags, LangOpts,
Target.getPtr(),
SourceMgr, HeaderInfo, ModLoader,
OpenPOWER on IntegriCloud