[PATCH] D109359: [TableGen] Emit a warning for unused template args

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 13:33:43 PDT 2021


GMNGeoffrey added a comment.

In D109359#3109828 <https://reviews.llvm.org/D109359#3109828>, @Paul-C-Anagnostopoulos wrote:

> I mean something really explicit, like a statement especially designed for this.
>
>   unused foo, bar;

Yup I understand that and agree. I'm saying that barring that, my second choice would be something that has no visible effect. I don't like my current workaround which adds a useless field to the record.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109359/new/

https://reviews.llvm.org/D109359



More information about the llvm-commits mailing list