зеркало из https://github.com/microsoft/clang-1.git
clang/unittests/Basic/SourceManagerTest.cpp: Fixup corresponding to r147387.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147388 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
51f564f80d
Коммит
18383f0eab
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче