[all-commits] [llvm/llvm-project] a329cf: [Support][Error] Unfriend FileError. It is not spe...

lhames via All-commits all-commits at lists.llvm.org
Wed Nov 20 15:08:50 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a329cf69696f1d1103c569b4c4d68d212b204710
      https://github.com/llvm/llvm-project/commit/a329cf69696f1d1103c569b4c4d68d212b204710
  Author: Lang Hames <lhames at gmail.com>
  Date:   2019-11-20 (Wed, 20 Nov 2019)

  Changed paths:
    M llvm/include/llvm/Support/Error.h

  Log Message:
  -----------
  [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.)




More information about the All-commits mailing list