[all-commits] [llvm/llvm-project] c4f3f5: [lldb] Remove FileSpec::GetLastPathComponent
Alex via All-commits
all-commits at lists.llvm.org
Tue May 2 17:23:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4f3f5225df73cf83042b5e3615549aae0be2422
https://github.com/llvm/llvm-project/commit/c4f3f5225df73cf83042b5e3615549aae0be2422
Author: Alex Langford <alangford at apple.com>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M lldb/include/lldb/Utility/FileSpec.h
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
M lldb/source/Target/Platform.cpp
M lldb/source/Utility/FileSpec.cpp
M lldb/source/Utility/XcodeSDK.cpp
Log Message:
-----------
[lldb] Remove FileSpec::GetLastPathComponent
As far as I can tell, this just computes the filename of the FileSpec,
which is already conveniently stored in m_filename. We can use
FileSpec::GetFilename() instead.
Differential Revision: https://reviews.llvm.org/D149663
More information about the All-commits
mailing list