[Support][Error] Unfriend FileError. It is not special.
authorLang Hames <lhames@gmail.com>
Wed, 20 Nov 2019 23:04:06 +0000 (15:04 -0800)
committerLang Hames <lhames@gmail.com>
Wed, 20 Nov 2019 23:08:37 +0000 (15:08 -0800)
commita329cf69696f1d1103c569b4c4d68d212b204710
treef8db226ca520768f7c7b8bf91c1ead0083c3d99f
parent9bdfee2a3bd13d405ce1592930182f23849d2897
[Support][Error] Unfriend FileError. It is not special.

FileError doesn't need direct access to Error's internals as it can access the
payload via handleErrors.

(ErrorList remains special: it is not possible to write a handler for it, due
to the special auto-unpacking treatment that it receives from handleErrors.)
llvm/include/llvm/Support/Error.h