Object: Add a missing return in ObjectFile::createObjectFile
authorJustin Bogner <mail@justinbogner.com>
Tue, 18 Oct 2016 05:17:23 +0000 (05:17 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 18 Oct 2016 05:17:23 +0000 (05:17 +0000)
commitb7c9deb5870358b9a7a655053e27d20b5c6ba442
tree89fce34dd99496b6d1391a3a8e5056afb07a0790
parent448358b5f1f5db2e821641302aec4eba4d0a1df0
Object: Add a missing return in ObjectFile::createObjectFile

When Error was threaded through these APIs back in r265606 the
"return" was missed here, which triggers a warning if/when I add
LLVM_NODISCARD to the Error type.

llvm-svn: 284454
llvm/lib/Object/ObjectFile.cpp