xlauko wrote: You don't need to write custom printer/parser for return type. As suggested here https://github.com/llvm/clangir/pull/1413 These can be autogenerated from assembly format:
``` let assemblyFormat = [{ `<` custom<FuncTypeParams>($inputs, $varArg) (`->` $optionalReturnType^)? `>` }]; ``` https://github.com/llvm/llvm-project/pull/128787 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits