[Lldb-commits] [PATCH] D68597: Replace static const StringRef with StringRef (NFC)

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 7 14:43:27 PDT 2019


aprantl created this revision.
aprantl added a reviewer: JDevlieghere.

I just don't think that we are saving anything by making these StringRefs global variables. The strings they reference are constants anyway.


https://reviews.llvm.org/D68597

Files:
  lldb/source/Interpreter/OptionValueBoolean.cpp
  lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.h
  lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
  lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68597.223662.patch
Type: text/x-patch
Size: 5973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191007/eeae8db2/attachment-0001.bin>


More information about the lldb-commits mailing list