forked from OSchip/llvm-project
[mlir] Print types to the OpAsmPrinter instead of the raw_ostream.
This allows for reusing the internal state of the printer, which is more efficient and also allows for using type aliases
This commit is contained in:
parent
7f37a8026f
commit
f0fb09c33e
|
@ -123,7 +123,7 @@ public:
|
|||
void printFunctionalType(InputRangeT &&inputs, ResultRangeT &&results) {
|
||||
auto &os = getStream();
|
||||
os << "(";
|
||||
interleaveComma(inputs, os);
|
||||
interleaveComma(inputs, *this);
|
||||
os << ")";
|
||||
printArrowTypeList(results);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue