Skip to content

Commit c4f8da9

Browse files
committed
[MLIR][emitc]: Remove unused functions (NFC)
1 parent 8f41d28 commit c4f8da9

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

mlir/lib/Dialect/EmitC/IR/EmitC.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff 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> &params) {
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-
1015994
FailureOr<SmallVector<ReplacementItem>> emitc::VerbatimOp::parseFormatString() {
1016995
// Error checking is done in verify.
1017996
return ::parseFormatString(getValue(), getFmtArgs());

0 commit comments

Comments
 (0)