[all-commits] [llvm/llvm-project] f9632c: [lldb] Remove FileSpecList::GetFileSpecPointerAtIn...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Oct 19 13:13:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9632cee30b788df7a6241d7802224d8f633973a
      https://github.com/llvm/llvm-project/commit/f9632cee30b788df7a6241d7802224d8f633973a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M lldb/include/lldb/Target/Target.h
    M lldb/include/lldb/Utility/FileSpecList.h
    M lldb/source/Commands/CommandObjectBreakpoint.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Utility/FileSpecList.cpp

  Log Message:
  -----------
  [lldb] Remove FileSpecList::GetFileSpecPointerAtIndex (NFC)

There's only one use and it eventually converts the pointer into a
reference. Simplify things and always use references.




More information about the All-commits mailing list