[PATCH] D109359: [TableGen] Optionally emit a warning for unused template args
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 8 02:49:41 PDT 2021
c-rhodes added a comment.
In D109359#2987099 <https://reviews.llvm.org/D109359#2987099>, @Paul-C-Anagnostopoulos wrote:
> I would propose something radical like a new statement:
>
> unused id, ... ;
Given the flag is optional is it necessary to have support for this right now? It think it would also be good to see some examples where an unused template argument makes sense before preemptively adding a new statement.
In D109359#2988890 <https://reviews.llvm.org/D109359#2988890>, @tschuett wrote:
> Maybe eventually a `-strict` option that checks various invariants?
That would be nice, do you have any other invariants in mind?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109359/new/
https://reviews.llvm.org/D109359
More information about the llvm-commits
mailing list