Skip to content

Commit 53c7062

Browse files
[mlir] Remove an unused local variable (NFC) (#139351)
1 parent 05f1e31 commit 53c7062

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,6 @@ void OpEmitter::genOptionalAttrRemovers() {
20902090
// Generate methods for removing optional attributes, instead of having to
20912091
// use the string interface. Enables better compile time verification.
20922092
auto emitRemoveAttr = [&](StringRef name, bool useProperties) {
2093-
auto upperInitial = name.take_front().upper();
20942093
auto *method = opClass.addInlineMethod("::mlir::Attribute",
20952094
op.getRemoverName(name) + "Attr");
20962095
if (!method)

0 commit comments

Comments
 (0)