[flang-commits] [flang] [mlir] [mlir][LLVM] Make struct types immutable (PR #116035)
Tobias Gysi via flang-commits
flang-commits at lists.llvm.org
Sat Nov 16 03:44:59 PST 2024
Markus =?utf-8?q?Böck?= <markus.boeck02 at gmail.com>,
Markus =?utf-8?q?Böck?= <markus.boeck02 at gmail.com>,
Markus =?utf-8?q?Böck?= <markus.boeck02 at gmail.com>,
Markus =?utf-8?q?Böck?= <markus.boeck02 at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/116035 at github.com>
================
@@ -226,8 +87,9 @@ void printType(Type type, AsmPrinter &printer);
/// Parse any MLIR type or a concise syntax for LLVM types.
ParseResult parsePrettyLLVMType(AsmParser &p, Type &type);
+ParseResult parsePrettyLLVMType(AsmParser &p, SmallVectorImpl<Type> &types);
/// Print any MLIR type or a concise syntax for LLVM types.
-void printPrettyLLVMType(AsmPrinter &p, Type type);
+void printPrettyLLVMType(AsmPrinter &p, TypeRange type);
----------------
gysit wrote:
```suggestion
void printPrettyLLVMType(AsmPrinter &p, TypeRange types);
```
ultra nit: It could make sense to rename to printLLVMTypeList and parseLLVMTypeList above?
https://github.com/llvm/llvm-project/pull/116035
More information about the flang-commits
mailing list