diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-01-06 01:04:46 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-01-06 01:04:46 +0000 |
commit | 9c28cb3f65b6e3d8176d66e2f7f26a854529eed7 (patch) | |
tree | 054d61f5284f24b052efe27de80fb988c2af12c7 /clang/unittests/Lex/LexerTest.cpp | |
parent | 1e58b463d9972c48a1636e07b3eac20cbe3e4df2 (diff) | |
download | llvm-9c28cb3f65b6e3d8176d66e2f7f26a854529eed7.zip llvm-9c28cb3f65b6e3d8176d66e2f7f26a854529eed7.tar.gz llvm-9c28cb3f65b6e3d8176d66e2f7f26a854529eed7.tar.bz2 |
shared_ptrify (from InclusiveRefCntPtr) HeaderSearchOptions
llvm-svn: 291202
Diffstat (limited to 'clang/unittests/Lex/LexerTest.cpp')
-rw-r--r-- | clang/unittests/Lex/LexerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Lex/LexerTest.cpp b/clang/unittests/Lex/LexerTest.cpp index 9ae1ffa..918167b 100644 --- a/clang/unittests/Lex/LexerTest.cpp +++ b/clang/unittests/Lex/LexerTest.cpp @@ -64,8 +64,8 @@ protected: SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); VoidModuleLoader ModLoader; - HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, - Target.get()); + HeaderSearch HeaderInfo(std::make_shared<HeaderSearchOptions>(), SourceMgr, + Diags, LangOpts, Target.get()); Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader, /*IILookup =*/nullptr, /*OwnsHeaderSearch =*/false); |