diff --git a/llvm/include/llvm/Support/GlobPattern.h b/llvm/include/llvm/Support/GlobPattern.h index 62ed4a0f23fd9..5849ca5c6bc98 100644 --- a/llvm/include/llvm/Support/GlobPattern.h +++ b/llvm/include/llvm/Support/GlobPattern.h @@ -71,7 +71,7 @@ class GlobPattern { } private: - StringRef Prefix; + std::string Prefix; struct SubGlobPattern { /// \param Pat the pattern to match against