[lld] r319922 - Add a checkLazy error checking variant.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 12:52:44 PST 2017


Rui Ueyama <ruiu at google.com> writes:

> I want to keep the number of functions in ErrorHandler as small as possible
> for the sake of simplicity. As you added a new function, now we have to
> think which we should use when we write code, check or checkLazy.
>
> Have you considered making every call of `check` lazy? I'm OK with using C
> macro if not too complicated.

Making it always lazy might make sense.

Cheers,
Rafael


More information about the llvm-commits mailing list