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/lib/Frontend/CreateInvocationFromCommandLine.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/lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r-- | clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp index 45f7aa3acde..f2f36e4cacb 100644 --- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp @@ -32,7 +32,7 @@ using namespace llvm::opt; CompilerInvocation * clang::createInvocationFromCommandLine(ArrayRef<const char *> ArgList, IntrusiveRefCntPtr<DiagnosticsEngine> Diags) { - if (!Diags.getPtr()) { + if (!Diags.get()) { // No diagnostics engine was provided, so create our own diagnostics object // with the default options. Diags = CompilerInstance::createDiagnostics(new DiagnosticOptions); |