[cfe-commits] r147388 - /cfe/trunk/unittests/Basic/SourceManagerTest.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Fri Dec 30 20:25:56 PST 2011
Author: chapuni
Date: Fri Dec 30 22:25:56 2011
New Revision: 147388
URL: http://llvm.org/viewvc/llvm-project?rev=147388&view=rev
Log:
clang/unittests/Basic/SourceManagerTest.cpp: Fixup corresponding to r147387.
Modified:
cfe/trunk/unittests/Basic/SourceManagerTest.cpp
Modified: cfe/trunk/unittests/Basic/SourceManagerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/SourceManagerTest.cpp?rev=147388&r1=147387&r2=147388&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/SourceManagerTest.cpp (original)
+++ cfe/trunk/unittests/Basic/SourceManagerTest.cpp Fri Dec 30 22:25:56 2011
@@ -63,7 +63,7 @@
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 @@
SourceMgr.overrideFileContents(headerFile, headerBuf);
VoidModuleLoader ModLoader;
- HeaderSearch HeaderInfo(FileMgr, Diags);
+ HeaderSearch HeaderInfo(FileMgr, Diags, LangOpts);
Preprocessor PP(Diags, LangOpts,
Target.getPtr(),
SourceMgr, HeaderInfo, ModLoader,
More information about the cfe-commits
mailing list