summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReader.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-05 03:08:06 +0000
committerAlp Toker <alp@nuanti.com>2014-07-05 03:08:06 +0000
commitf994cef83693dcd0eb2c0e1c552fbc2a285488cf (patch)
tree1eefedea93e6ee9c4d5f5779e075854710164969 /clang/lib/Serialization/ASTReader.cpp
parentedc902f3bb89f7d630cd7527656f96ae224c49ef (diff)
downloadbcm5719-llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.tar.gz
bcm5719-llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.zip
Track IntrusiveRefCntPtr::get() changes from LLVM r212366
llvm-svn: 212369
Diffstat (limited to 'clang/lib/Serialization/ASTReader.cpp')
-rw-r--r--clang/lib/Serialization/ASTReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp
index 7f7fc1ce997..f18122dd941 100644
--- a/clang/lib/Serialization/ASTReader.cpp
+++ b/clang/lib/Serialization/ASTReader.cpp
@@ -378,7 +378,7 @@ bool PCHValidator::ReadDiagnosticOptions(
DiagnosticsEngine &ExistingDiags = PP.getDiagnostics();
IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(ExistingDiags.getDiagnosticIDs());
IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
- new DiagnosticsEngine(DiagIDs, DiagOpts.getPtr()));
+ new DiagnosticsEngine(DiagIDs, DiagOpts.get()));
// This should never fail, because we would have processed these options
// before writing them to an ASTFile.
ProcessWarningOptions(*Diags, *DiagOpts, /*Report*/false);
OpenPOWER on IntegriCloud