[DialectAsmPrinter] Add missing 'printAttributeWithoutType' member.
authorChris Lattner <clattner@nondot.org>
Wed, 22 Sep 2021 01:06:02 +0000 (18:06 -0700)
committerChris Lattner <clattner@nondot.org>
Wed, 22 Sep 2021 01:45:24 +0000 (18:45 -0700)
commitda93829b441525fd82a23c710290328907dde756
treed78a961ed649c50ee3fe5bc88348553c3d013d8b
parent7a320b279d076cb0736caed2a222b1d3367b003d
[DialectAsmPrinter] Add missing 'printAttributeWithoutType' member.

DialectAsmParser has a `parseAttribute` member that takes a
contextual type, but DialectAsmPrinter doesn't have the corresponding
member to take advantage of it.  As such, custom attribute
implementations can't really use it.  This adds the obvious missing
method which fills this hole.

Differential Revision: https://reviews.llvm.org/D110211
mlir/include/mlir/IR/DialectImplementation.h
mlir/lib/IR/AsmPrinter.cpp