diff options
author | Alp Toker <alp@nuanti.com> | 2014-07-06 05:26:44 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-07-06 05:26:44 +0000 |
commit | 80758084f70dbdaa4ca16661871215bacee0ab18 (patch) | |
tree | 6b8f303b64953d187cb79f3631f1c5a7cb3c6f14 /clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp | |
parent | 269d840e40cdff7ff677fe11361af91e759ac1f1 (diff) | |
download | bcm5719-llvm-80758084f70dbdaa4ca16661871215bacee0ab18.tar.gz bcm5719-llvm-80758084f70dbdaa4ca16661871215bacee0ab18.zip |
Use non-intrusive refcounting for TargetOptions
llvm-svn: 212388
Diffstat (limited to 'clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp')
-rw-r--r-- | clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp index 8659f0fc934..e63106c295a 100644 --- a/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp +++ b/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp @@ -38,7 +38,7 @@ protected: TargetOpts(new TargetOptions) { TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; - Target = TargetInfo::CreateTargetInfo(Diags, &*TargetOpts); + Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); } FileSystemOptions FileMgrOpts; @@ -47,7 +47,7 @@ protected: DiagnosticsEngine Diags; SourceManager SourceMgr; LangOptions LangOpts; - IntrusiveRefCntPtr<TargetOptions> TargetOpts; + std::shared_ptr<TargetOptions> TargetOpts; IntrusiveRefCntPtr<TargetInfo> Target; }; |