aboutsummaryrefslogtreecommitdiff
path: root/source/Plugins/LanguageRuntime
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-10-08 16:29:36 +0000
committerAdrian Prantl <aprantl@apple.com>2019-10-08 16:29:36 +0000
commit90d2f68dc56307a4f7ef576b9881abd540ad2a50 (patch)
tree5b917a58bc17d848291cfae822fd491564cdc665 /source/Plugins/LanguageRuntime
parent10027dd87e34e24516170a301781a218d670321a (diff)
downloadlldb-90d2f68dc56307a4f7ef576b9881abd540ad2a50.tar.gz
Replace static const StringRef with StringRef (NFC)
Differential Revision: https://reviews.llvm.org/D68597 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@374081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Plugins/LanguageRuntime')
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
index 528477534..d5a47d160 100644
--- a/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+++ b/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -2029,8 +2029,8 @@ lldb::addr_t AppleObjCRuntimeV2::LookupRuntimeSymbol(ConstString name) {
if (name_cstr) {
llvm::StringRef name_strref(name_cstr);
- static const llvm::StringRef ivar_prefix("OBJC_IVAR_$_");
- static const llvm::StringRef class_prefix("OBJC_CLASS_$_");
+ llvm::StringRef ivar_prefix("OBJC_IVAR_$_");
+ llvm::StringRef class_prefix("OBJC_CLASS_$_");
if (name_strref.startswith(ivar_prefix)) {
llvm::StringRef ivar_skipped_prefix =