We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f1e31 commit 53c7062Copy full SHA for 53c7062
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
@@ -2090,7 +2090,6 @@ void OpEmitter::genOptionalAttrRemovers() {
2090
// Generate methods for removing optional attributes, instead of having to
2091
// use the string interface. Enables better compile time verification.
2092
auto emitRemoveAttr = [&](StringRef name, bool useProperties) {
2093
- auto upperInitial = name.take_front().upper();
2094
auto *method = opClass.addInlineMethod("::mlir::Attribute",
2095
op.getRemoverName(name) + "Attr");
2096
if (!method)
0 commit comments