Fix flang build after MLIR API change

In c8e047f5e1 the default for useDefault{Type/Attribute}PrinterParser
was changed in ODS, restore the old value explicitly for the FirDialect.
This commit is contained in:
Mehdi Amini 2022-01-18 06:59:53 +00:00
parent 1090000b63
commit 79dffbadf6
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ def fir_Dialect : Dialect {
let name = "fir";
let cppNamespace = "::fir";
let emitAccessorPrefix = kEmitAccessorPrefix_Both;
let useDefaultTypePrinterParser = 0;
let useDefaultAttributePrinterParser = 0;
}
#endif // FORTRAN_DIALECT_FIR_DIALECT