[all-commits] [llvm/llvm-project] 9e8a41: [lldb][NFCI] Remove use of ConstString from Struct...

Alex via All-commits all-commits at lists.llvm.org
Tue May 30 13:48:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e8a412cb37d2a1201bd33878fce0993587ef335
      https://github.com/llvm/llvm-project/commit/9e8a412cb37d2a1201bd33878fce0993587ef335
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp

  Log Message:
  -----------
  [lldb][NFCI] Remove use of ConstString from StructuredDataDarwinLog static functions

The strings "DarwinLog" and "log" probably do not need to be in the
ConstString StringPool. We still create ConstStrings from them in some
places (for now) but that's because we don't have an implicit
constructor to convert a StringRef to a ConstString.

Differential Revision: https://reviews.llvm.org/D151599




More information about the All-commits mailing list