[llvm-bugs] [Bug 48706] New: TableGen should recover better from common errors
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jan 10 11:05:20 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=48706
Bug ID: 48706
Summary: TableGen should recover better from common errors
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: TableGen
Assignee: unassignedbugs at nondot.org
Reporter: clattner at nondot.org
CC: llvm-bugs at lists.llvm.org
defs in tablegen are brace enclosed, and don't need a semicolon. However, we
should recognize that this is a common error. we currently produce errors like:
/Users/chrisl/Projects/circt/include/circt/Dialect/FIRRTL/FIRRTLExpressions.td:263:2:
error: Unexpected input at top level
};
^
It would be much better to produce a "defs don't end with a semicolon" error
with a fixit hint.
-Chris
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210110/8674ea25/attachment.html>
More information about the llvm-bugs
mailing list