Skip to content

Commit bac85ab

Browse files
committed
Revert "[LifetimeAnalysis] Add [[gsl::Pointer]] to llvm::StringRef"
This reverts commit 83d5131. Spams llvm/ADT/StringRef.h:57:11: warning: unknown attribute 'Pointer' ignored [-Wunknown-attributes]
1 parent 5cef310 commit bac85ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ADT/StringRef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace llvm {
5454
/// situations where the character data resides in some other buffer, whose
5555
/// lifetime extends past that of the StringRef. For this reason, it is not in
5656
/// general safe to store a StringRef.
57-
class [[gsl::Pointer]] StringRef {
57+
class StringRef {
5858
public:
5959
static const size_t npos = ~size_t(0);
6060

0 commit comments

Comments
 (0)