[MLIR][NFC] Inline lambda to workaround gcc 9.1,9.2 bug
authorKiran Chandramohan <kiran.chandramohan@arm.com>
Tue, 16 Jun 2020 14:26:25 +0000 (15:26 +0100)
committerKiran Chandramohan <kiran.chandramohan@arm.com>
Tue, 16 Jun 2020 14:31:06 +0000 (15:31 +0100)
commit6cd232056c3cdaf5e9eb85ede8e42d0db97f0f71
treea74529e4b71a344f6417e9afebd1a85276822d10
parent10b6567f49778f49ea81ff36269fc0fbc033d7ad
[MLIR][NFC] Inline lambda to workaround gcc 9.1,9.2 bug

gcc 9.1/9.2 has a bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90538)
which leads to an incorrect error when expanding parameter packs multiple
times in a lambda. Inlining this lambda to work around this issue.

Reviewed By: rriddle, CarolineConcatto

Differential Revision: https://reviews.llvm.org/D81828
mlir/lib/IR/AsmPrinter.cpp