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 @@ -1043,27 +1043,6 @@ LogicalResult emitc::VerbatimOp::verify() {
10431043 return success ();
10441044}
10451045
1046- [[maybe_unused]] static ParseResult
1047- parseVariadicTypeFmtArgs (AsmParser &p, SmallVector<Type> ¶ms) {
1048- Type type;
1049- if (p.parseType (type))
1050- return failure ();
1051-
1052- params.push_back (type);
1053- while (succeeded (p.parseOptionalComma ())) {
1054- if (p.parseType (type))
1055- return failure ();
1056- params.push_back (type);
1057- }
1058-
1059- return success ();
1060- }
1061-
1062- [[maybe_unused]] static void printVariadicTypeFmtArgs (AsmPrinter &p,
1063- ArrayRef<Type> params) {
1064- llvm::interleaveComma (params, p, [&](Type type) { p.printType (type); });
1065- }
1066-
10671046FailureOr<SmallVector<ReplacementItem>> emitc::VerbatimOp::parseFormatString () {
10681047 // Error checking is done in verify.
10691048 return ::parseFormatString (getValue (), getFmtArgs ());
You can’t perform that action at this time.
0 commit comments