commit | df0b8bce48aa981e5f33a754f66c95f8c46f7709 | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Fri Nov 11 04:28:40 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Fri Nov 11 04:28:40 2016 +0000 |
tree | 6aa87f18590b764a2abe5dc932e09ff76a3f5e38 | |
parent | 90ab4b2ee258f6437f0bea77db22fcb86d5c66d9 [diff] |
Make the Error class constructor protected This is forcing to use Error::success(), which is in a wide majority of cases a lot more readable. Differential Revision: https://reviews.llvm.org/D26481 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286561 91177308-0d34-0410-b5e6-96231b3b80d8