Cullen Rhodes
d968b173d3
[TableGen] Emit a warning for unused template args
...
Add a warning to TableGen for unused template arguments in classes and
multiclasses, for example:
multiclass Foo<int x> {
def bar;
}
$ llvm-tblgen foo.td
foo.td:1:20: warning: unused template argument: Foo::x
multiclass Foo<int x> {
^
A flag '--no-warn-on-unused-template-args' is added to disable the
warning. The warning is disabled for LLVM and sub-projects if
'LLVM_ENABLE_WARNINGS=OFF'.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D109359
2021-11-03 11:55:07 +00:00
..
2021-03-17 09:28:50 +00:00
2021-11-03 11:55:07 +00:00
2021-01-20 09:20:15 -08:00
2021-06-23 13:27:37 +07:00
2021-04-30 11:31:06 -04:00
2021-09-23 23:07:35 -04:00
2021-03-17 09:28:50 +00:00
2021-01-14 10:20:35 -05:00
2020-12-03 10:19:11 -05:00
2021-11-03 11:55:07 +00:00
2021-05-02 12:40:44 -07:00
2021-05-02 12:40:44 -07:00
2021-05-02 12:40:44 -07:00
2021-11-03 11:55:07 +00:00
2021-01-27 10:41:46 -05:00
2021-03-23 09:16:53 -04:00
2021-03-23 09:16:53 -04:00
2021-03-23 09:16:53 -04:00
2021-09-23 23:07:35 -04:00
2021-04-13 15:14:56 -07:00
2021-04-28 09:51:00 -04:00
2021-01-29 10:25:33 -05:00
2020-12-03 10:19:11 -05:00
2021-02-12 15:05:32 +00:00
2021-03-16 12:44:09 +01:00
2021-10-28 13:37:12 +02:00
2021-10-28 13:37:12 +02:00
2021-01-05 09:30:04 +01:00
2021-11-03 11:55:07 +00:00
2021-04-30 10:18:45 +02:00
2020-12-28 12:17:24 -05:00
2021-03-02 09:04:50 -08:00
2021-03-04 14:08:19 +03:00
2021-11-03 11:55:07 +00:00
2021-04-13 15:14:56 -07:00
2021-04-16 09:58:20 -04:00
2021-06-30 10:53:39 +01:00
2021-05-13 10:17:45 -04:00
2021-11-03 11:55:07 +00:00
2021-03-23 11:50:55 +07:00
2021-01-29 10:14:52 +05:30
2021-01-29 10:14:52 +05:30
2021-01-29 10:14:52 +05:30
2021-08-31 22:29:11 -04:00
2021-03-19 09:57:53 -04:00
2021-02-01 10:59:07 -05:00
2021-01-12 09:38:05 -05:00
2020-12-23 10:59:33 -05:00
2021-04-09 18:48:49 +01:00
2021-11-03 11:55:07 +00:00
2020-12-03 10:19:11 -05:00
2021-11-03 11:55:07 +00:00