aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.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/Frontend/CompilerInvocation.cpp
parentedc902f3bb89f7d630cd7527656f96ae224c49ef (diff)
downloadllvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.zip
llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.tar.gz
llvm-f994cef83693dcd0eb2c0e1c552fbc2a285488cf.tar.bz2
Track IntrusiveRefCntPtr::get() changes from LLVM r212366
llvm-svn: 212369
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index a5cdb8ca..d04d829 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -2039,7 +2039,7 @@ createVFSFromCompilerInvocation(const CompilerInvocation &CI,
IntrusiveRefCntPtr<vfs::FileSystem> FS =
vfs::getVFSFromYAML(Buffer.release(), /*DiagHandler*/nullptr);
- if (!FS.getPtr()) {
+ if (!FS.get()) {
Diags.Report(diag::err_invalid_vfs_overlay) << File;
return IntrusiveRefCntPtr<vfs::FileSystem>();
}