diff options
| author | Douglas Gregor <dgregor@apple.com> | 2012-01-30 06:01:29 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2012-01-30 06:01:29 +0000 |
| commit | 899292827456532bc66219f9d778595c57614f77 (patch) | |
| tree | fa9971f4bad44e176c13d13bc80d68f4dce77e25 /clang/unittests/Lex | |
| parent | 829400bb22fc72d291fd3e5057b0880d7b09aafa (diff) | |
| download | bcm5719-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.cpp | 2 |
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, |

