[mlir] ODS: do not emit trailing const for static methods
authorAlex Zinenko <zinenko@google.com>
Mon, 14 Jun 2021 15:26:03 +0000 (17:26 +0200)
committerAlex Zinenko <zinenko@google.com>
Tue, 15 Jun 2021 11:33:39 +0000 (13:33 +0200)
commit8ed88559582fd8f0e8a148cc7220619753cfb287
tree9705b37b04822189a2bd443d80b76d14bedc613b
parent69cfa178b77d91205cf8cf45fa00e28b1730d0a1
[mlir] ODS: do not emit trailing const for static methods

The generated C++ would be invalid.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D104233
mlir/tools/mlir-tblgen/OpInterfacesGen.cpp