Skip to content

change GlobPattern:Prefix from stringref to string. #141270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

qinkunbao
Copy link
Member

No description provided.

Created using spr 1.3.6
@llvmbot
Copy link
Member

llvmbot commented May 23, 2025

@llvm/pr-subscribers-llvm-support

Author: Qinkun Bao (qinkunbao)

Changes

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

1 Files Affected:

  • (modified) llvm/include/llvm/Support/GlobPattern.h (+1-1)
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

@qinkunbao qinkunbao changed the base branch from users/qinkunbao/spr/main.change-globpatternprefix-from-stringref-to-string to main May 23, 2025 19:28
@qinkunbao qinkunbao changed the base branch from main to users/qinkunbao/spr/main.change-globpatternprefix-from-stringref-to-string May 23, 2025 19:28
@qinkunbao qinkunbao closed this May 23, 2025
@qinkunbao qinkunbao deleted the users/qinkunbao/spr/change-globpatternprefix-from-stringref-to-string branch May 30, 2025 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants