From f994cef83693dcd0eb2c0e1c552fbc2a285488cf Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Sat, 5 Jul 2014 03:08:06 +0000 Subject: Track IntrusiveRefCntPtr::get() changes from LLVM r212366 llvm-svn: 212369 --- clang/lib/Frontend/CompilerInvocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') 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 FS = vfs::getVFSFromYAML(Buffer.release(), /*DiagHandler*/nullptr); - if (!FS.getPtr()) { + if (!FS.get()) { Diags.Report(diag::err_invalid_vfs_overlay) << File; return IntrusiveRefCntPtr(); } -- cgit v1.1