[PATCH] D152373: [TableGen] Support warnings on unused classes and multiclasses.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 02:00:36 PDT 2023


foad added a comment.

> I'm wracking my brain as for how the "common" TableGen files can be identified in a cleaner way. I don't like the `def` way, but something like a `pragma common_header` perhaps?

Maybe you could specify on the command line which files you //do// want to see warnings in?
`llvm-tblgen -warn-in=lib/Target/AMDGPU/ ...`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152373



More information about the llvm-commits mailing list