[llvm-branch-commits] change GlobPattern:Prefix from stringref to string. (PR #141270)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 23 11:07:23 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-support

Author: Qinkun Bao (qinkunbao)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/141270.diff


1 Files Affected:

- (modified) llvm/include/llvm/Support/GlobPattern.h (+1-1) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/141270


More information about the llvm-branch-commits mailing list