[MLIR] Fix -Wunused-template (#221480) (#223094)

This warning was enabled by default for clang 23 (although reverted in
23.1.1). Given someone might enable it in the future and the cleanup
seemed nice, we should just do it.

This was done primarily by removing static from templates in headers and
then deleting any unused templates in translation units.

Previously attempted to land this in #221480, but accidentally merged
into a user branch rather than main.

GitOrigin-RevId: 4e3b379b6cfcd13a11e26834756519430a9f9377
21 files changed
tree: cb7b764233fcf29e603bc5f55884299d1f8ce0f4
  1. benchmark/
  2. cmake/
  3. docs/
  4. examples/
  5. include/
  6. lib/
  7. python/
  8. test/
  9. tools/
  10. unittests/
  11. utils/
  12. .clang-format
  13. .clang-tidy
  14. CMakeLists.txt
  15. LICENSE.TXT
  16. Maintainers.md
  17. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.