================ @@ -1496,6 +1496,10 @@ def FuncOp : CIR_Op<"func", [ return getFunctionType().getReturnTypes(); } + // TODO(cir): this should be an operand attribute, but for now we just hard- + // wire this as a function. Will later add a $no_proto argument to this op. + bool getNoProto() { return false; } ---------------- bcardosolopes wrote:
Maybe add assert on missing feature here? https://github.com/llvm/llvm-project/pull/136810 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits