diff --git a/mlir/include/mlir/Pass/PassRegistry.h b/mlir/include/mlir/Pass/PassRegistry.h --- a/mlir/include/mlir/Pass/PassRegistry.h +++ b/mlir/include/mlir/Pass/PassRegistry.h @@ -81,10 +81,10 @@ private: /// The argument with which to invoke the pass via mlir-opt. - StringRef arg; + std::string arg; /// Description of the pass. - StringRef description; + std::string description; /// Function to register this entry to a pass manager pipeline. PassRegistryFunction builder;