[llvm-dev] [RFC] Preferred error/note style across non-clang tools, e.g. tablegen

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 21 15:20:15 PDT 2020



> On Jul 21, 2020, at 15:46, Evandro Menezes via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> There is a lot of room from improvement in several details of TableGen.  However, methinks that changes towards such a goal shouldn't be sneaked in small doses.  Then it just adds more inconsistent error reporting to an already inconsistent reporting.  If one wants to improve the error reporting in TableGen, let one take it on himself this project, apart from one's other patches.

Realistically, replacing all of TableGen’s error reporting in one shot is not going to happen. I don’t see any reason to delay fixing any particular error because all of the others are bad. For TableGen, I’m happy enough when there is an actual error and not an assert.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200721/e7baa074/attachment.html>


More information about the llvm-dev mailing list