Track IntrusiveRefCntPtr::get() changes from LLVM r212366

llvm-svn: 212369
This commit is contained in:
Alp Toker
2014-07-05 03:08:06 +00:00
parent edc902f3bb
commit f994cef836
29 changed files with 103 additions and 103 deletions

View File

@@ -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>();
}