StrAttr in MLIR

I want to accept String arguments in the operations I’ve defined for myself. I used StrAttr, but the generated inc file has an error
image
Below is the file generated by tablgen.
image
How can I use String correctly in MLIR? I am not missing some header files, hope someone can help me, thanks

Are you including the generated file from a file where you have included mlir/IR/Builders.h already?

It works, thanks