commit | 7823e6a1935ddddd0c97697c3739244d88af07b8 | [log] [tgz] |
---|---|---|
author | Markus Böck <markus.boeck02@gmail.com> | Thu Nov 18 20:23:23 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Nov 18 11:26:34 2021 -0800 |
tree | 69813d0a3925e53c234cb64b2ec5e3291da55874 | |
parent | cabb4b52c0f82b4d745ea704cdf71ffc7e2224bf [diff] |
[mlir] Fully qualify default generated type/attribute printer and parser This patch makes it possible to use the newly added useDefaultAttributePrinterParser and useDefaultTypePrinterParser dialect options without any using namespace declarations. Two things had to be done to make this possible: * Fully qualify any type usages or functions from the mlir namespace in the generated C++ code * Makes sure to emit the printers and parsers inside the same namespace as the Dialect Differential Revision: https://reviews.llvm.org/D114168 GitOrigin-RevId: 0a8a5902a694c12ae28233ae21bbf73a6d7204bb
See https://mlir.llvm.org/ for more information.