File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlir/tools/mlir-linalg-ods-gen Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ static bool isAttribute(LinalgOperandDefKind kind) {
449449}
450450
451451// Get the enum name for the given operand kind.
452- std::string convertOperandKindToEnumName (LinalgOperandDefKind kind) {
452+ static std::string convertOperandKindToEnumName (LinalgOperandDefKind kind) {
453453 switch (kind) {
454454 case LinalgOperandDefKind::UnaryFnAttr:
455455 return std::string (" UnaryFn" );
@@ -466,7 +466,7 @@ std::string convertOperandKindToEnumName(LinalgOperandDefKind kind) {
466466}
467467
468468// Get the enum name for the given function kind.
469- std::string convertFunctionKindToEnumName (ScalarFnKind kind) {
469+ static std::string convertFunctionKindToEnumName (ScalarFnKind kind) {
470470 switch (kind) {
471471 case ScalarFnKind::Unary:
472472 return std::string (" UnaryFn" );
You can’t perform that action at this time.
0 commit comments