File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
mlir/lib/Dialect/EmitC/IR Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -991,27 +991,6 @@ LogicalResult emitc::VerbatimOp::verify() {
991991 return success ();
992992}
993993
994- [[maybe_unused]] static ParseResult
995- parseVariadicTypeFmtArgs (AsmParser &p, SmallVector<Type> ¶ms) {
996- Type type;
997- if (p.parseType (type))
998- return failure ();
999-
1000- params.push_back (type);
1001- while (succeeded (p.parseOptionalComma ())) {
1002- if (p.parseType (type))
1003- return failure ();
1004- params.push_back (type);
1005- }
1006-
1007- return success ();
1008- }
1009-
1010- [[maybe_unused]] static void printVariadicTypeFmtArgs (AsmPrinter &p,
1011- ArrayRef<Type> params) {
1012- llvm::interleaveComma (params, p, [&](Type type) { p.printType (type); });
1013- }
1014-
1015994FailureOr<SmallVector<ReplacementItem>> emitc::VerbatimOp::parseFormatString () {
1016995 // Error checking is done in verify.
1017996 return ::parseFormatString (getValue (), getFmtArgs ());
You can’t perform that action at this time.
0 commit comments