[llvm-bugs] [Bug 36112] New: TableGen .inc files should include #line directives

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 26 09:54:51 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36112

            Bug ID: 36112
           Summary: TableGen .inc files should include #line directives
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: TableGen
          Assignee: unassignedbugs at nondot.org
          Reporter: jordan_rose at apple.com
                CC: llvm-bugs at lists.llvm.org

When a diagnostic occurs in TableGen-generated .inc files, we get it in the
.inc file. It would be way more helpful to get it in the .td instead. The same
goes for "Jump to Definition"-y features in IDEs. Changing generators to
include #line directives would solve this problem.

(This is not without drawbacks; sometimes the /generator/ is wrong and you
really do want to see the .inc file.)

-- 
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/20180126/5f3138e7/attachment.html>


More information about the llvm-bugs mailing list