[all-commits] [llvm/llvm-project] 2bea2d: [lldb] Refactor SBFileSpec::GetDirectory

Alex via All-commits all-commits at lists.llvm.org
Tue May 2 10:01:56 PDT 2023


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

  Changed paths:
    M lldb/source/API/SBFileSpec.cpp

  Log Message:
  -----------
  [lldb] Refactor SBFileSpec::GetDirectory

There's no reason to create an entire new filespec to mutate and grab
data from when we can just grab the data directly.

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




More information about the All-commits mailing list