diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-17 22:12:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-17 22:12:58 +0000 |
commit | 04ab21d75d043940f432d770b0e8891f1edefaae (patch) | |
tree | 7d6371da6a64a3bb148837f2781b2b082d6fa32d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f7aed8017ad5c91a71e4e443ffc04379c2fefedb (diff) | |
download | bcm5719-llvm-04ab21d75d043940f432d770b0e8891f1edefaae.tar.gz bcm5719-llvm-04ab21d75d043940f432d770b0e8891f1edefaae.zip |
Convert a few ownership comments with std::unique_ptr.
llvm-svn: 215853
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 070b00c63af..fbfad94ec3c 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -2034,7 +2034,7 @@ createVFSFromCompilerInvocation(const CompilerInvocation &CI, } IntrusiveRefCntPtr<vfs::FileSystem> FS = - vfs::getVFSFromYAML(Buffer->release(), /*DiagHandler*/ nullptr); + vfs::getVFSFromYAML(std::move(Buffer.get()), /*DiagHandler*/ nullptr); if (!FS.get()) { Diags.Report(diag::err_invalid_vfs_overlay) << File; return IntrusiveRefCntPtr<vfs::FileSystem>(); |