Track IntrusiveRefCntPtr::get() changes from LLVM r212366
llvm-svn: 212369
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user