Support: Make error_category's constructor public
authorJustin Bogner <mail@justinbogner.com>
Sat, 15 Mar 2014 04:05:59 +0000 (04:05 +0000)
committerJustin Bogner <mail@justinbogner.com>
Sat, 15 Mar 2014 04:05:59 +0000 (04:05 +0000)
commitc0a42c263e1cf8f3d3cd69afec9c4264d23c616c
tree4b9594a610d54d0138b4384be990deea069ceb24
parent8e85e5017092090c01b72f6ab57c7c3f1b73a235
Support: Make error_category's constructor public

Since our error_category is based on the std one, we should have the
same visibility for the constructor.  This also allows us to avoid
using the _do_message implementation detail in our own categories.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203998 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/system_error.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Object/Error.cpp
tools/llvm-readobj/Error.cpp