[all-commits] [llvm/llvm-project] 673f91: [lldb][NFCI] Remove unneeded use of ConstString in...

Alex via All-commits all-commits at lists.llvm.org
Mon Jul 3 09:32:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 673f91055a41b2273e159eafe86d0d7d87fa474f
      https://github.com/llvm/llvm-project/commit/673f91055a41b2273e159eafe86d0d7d87fa474f
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp

  Log Message:
  -----------
  [lldb][NFCI] Remove unneeded use of ConstString in ASTResultSynthesizer

2/3 of the ConstStrings in this class were just to be able to log
something. Putting something in the StringPool just to log it doesn't
make a lot of sense, so let's remove them.

The remaining use is for `RegisterPersistentDecl` which is fine for now.

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




More information about the All-commits mailing list