summaryrefslogtreecommitdiffstats
path: root/clang/unittests
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-12-31 04:25:56 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-12-31 04:25:56 +0000
commit1154e75c7c2b9c41128b82396e3769b14481e79e (patch)
tree72c26f7516650ed04daabc3244d7088100818315 /clang/unittests
parent1fb5c3a63a88e4758b196f1bda64eecce9b29d3f (diff)
downloadbcm5719-llvm-1154e75c7c2b9c41128b82396e3769b14481e79e.tar.gz
bcm5719-llvm-1154e75c7c2b9c41128b82396e3769b14481e79e.zip
clang/unittests/Basic/SourceManagerTest.cpp: Fixup corresponding to r147387.
llvm-svn: 147388
Diffstat (limited to 'clang/unittests')
-rw-r--r--clang/unittests/Basic/SourceManagerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp
index 4122f0d42db..2dd64f9ac69 100644
--- a/clang/unittests/Basic/SourceManagerTest.cpp
+++ b/clang/unittests/Basic/SourceManagerTest.cpp
@@ -63,7 +63,7 @@ TEST_F(SourceManagerTest, isBeforeInTranslationUnit) {
FileID mainFileID = SourceMgr.createMainFileIDForMemBuffer(buf);
VoidModuleLoader ModLoader;
- HeaderSearch HeaderInfo(FileMgr, Diags);
+ HeaderSearch HeaderInfo(FileMgr, Diags, LangOpts);
Preprocessor PP(Diags, LangOpts,
Target.getPtr(),
SourceMgr, HeaderInfo, ModLoader,
@@ -130,7 +130,7 @@ TEST_F(SourceManagerTest, getMacroArgExpandedLocation) {
SourceMgr.overrideFileContents(headerFile, headerBuf);
VoidModuleLoader ModLoader;
- HeaderSearch HeaderInfo(FileMgr, Diags);
+ HeaderSearch HeaderInfo(FileMgr, Diags, LangOpts);
Preprocessor PP(Diags, LangOpts,
Target.getPtr(),
SourceMgr, HeaderInfo, ModLoader,
OpenPOWER on IntegriCloud