summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-01-06 01:04:46 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-01-06 01:04:46 +0000
commit9c28cb3f65b6e3d8176d66e2f7f26a854529eed7 (patch)
tree054d61f5284f24b052efe27de80fb988c2af12c7 /clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
parent1e58b463d9972c48a1636e07b3eac20cbe3e4df2 (diff)
downloadbcm5719-llvm-9c28cb3f65b6e3d8176d66e2f7f26a854529eed7.tar.gz
bcm5719-llvm-9c28cb3f65b6e3d8176d66e2f7f26a854529eed7.zip
shared_ptrify (from InclusiveRefCntPtr) HeaderSearchOptions
llvm-svn: 291202
Diffstat (limited to 'clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp')
-rw-r--r--clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
index 81cb488d63d..dccfffdb2c1 100644
--- a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
+++ b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
@@ -93,8 +93,8 @@ TEST_F(PPConditionalDirectiveRecordTest, PPRecAPI) {
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,
OpenPOWER on IntegriCloud