[all-commits] [llvm/llvm-project] 0e22b8: [lldb] Change formatter helper function parameter ...

Alex via All-commits all-commits at lists.llvm.org
Wed Apr 12 11:25:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e22b8cba786a5da61b9279c4d2d10c756392a2e
      https://github.com/llvm/llvm-project/commit/0e22b8cba786a5da61b9279c4d2d10c756392a2e
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M lldb/include/lldb/DataFormatters/FormattersHelpers.h
    M lldb/source/DataFormatters/FormatManager.cpp
    M lldb/source/DataFormatters/FormattersHelpers.cpp
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    M lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp

  Log Message:
  -----------
  [lldb] Change formatter helper function parameter list to remove ConstString

All of these functions take a ConstString for the type_name,
but this isn't really needed for two reasons:
1.) This parameter is always constructed from a static c-string
  constant.
2.) They are passed along to to `AddTypeSummary` as a StringRef anyway.

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




More information about the All-commits mailing list