diff options
| author | Alp Toker <alp@nuanti.com> | 2014-07-05 03:08:06 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-07-05 03:08:06 +0000 |
| commit | f994cef83693dcd0eb2c0e1c552fbc2a285488cf (patch) | |
| tree | 1eefedea93e6ee9c4d5f5779e075854710164969 /clang/unittests/Lex/PPCallbacksTest.cpp | |
| parent | edc902f3bb89f7d630cd7527656f96ae224c49ef (diff) | |
| download | bcm5719-llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.tar.gz bcm5719-llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.zip | |
Track IntrusiveRefCntPtr::get() changes from LLVM r212366
llvm-svn: 212369
Diffstat (limited to 'clang/unittests/Lex/PPCallbacksTest.cpp')
| -rw-r--r-- | clang/unittests/Lex/PPCallbacksTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/Lex/PPCallbacksTest.cpp b/clang/unittests/Lex/PPCallbacksTest.cpp index 5ca2013cd6e..c5fd5702ea9 100644 --- a/clang/unittests/Lex/PPCallbacksTest.cpp +++ b/clang/unittests/Lex/PPCallbacksTest.cpp @@ -119,7 +119,7 @@ protected: : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), DiagOpts(new DiagnosticOptions()), - Diags(DiagID, DiagOpts.getPtr(), new IgnoringDiagConsumer()), + Diags(DiagID, DiagOpts.get(), new IgnoringDiagConsumer()), SourceMgr(Diags, FileMgr) { TargetOpts = new TargetOptions(); TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; @@ -169,7 +169,7 @@ protected: IntrusiveRefCntPtr<HeaderSearchOptions> HSOpts = new HeaderSearchOptions(); HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts, - Target.getPtr()); + Target.get()); AddFakeHeader(HeaderInfo, HeaderPath, SystemHeader); IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); @@ -204,7 +204,7 @@ protected: VoidModuleLoader ModLoader; HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, - OpenCLLangOpts, Target.getPtr()); + OpenCLLangOpts, Target.get()); Preprocessor PP(new PreprocessorOptions(), Diags, OpenCLLangOpts, SourceMgr, HeaderInfo, ModLoader, /*IILookup =*/nullptr, |

