diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2023-05-04 22:07:37 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2023-05-04 22:10:28 -0700 |
commit | ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f (patch) | |
tree | 0a2c60d2b55104646b3e528583243467bda98729 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 3145e60caf5b7e2b5276998654275cb2cacd4825 (diff) | |
download | llvm-ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f.zip llvm-ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f.tar.gz llvm-ab73a9c1a77cc9502f07ff8a9d1fd9dadccd702f.tar.bz2 |
[lldb] Eliminate {Get,Set}PropertyAtIndexAsFileSpec (NFC)
This patch is a continuation of 6f8b33f6dfd0 and eliminates the
{Get,Set}PropertyAtIndexAsFileSpec functions.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index f3754f8..272cd4b 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -153,7 +153,7 @@ public: FileSpec GetTargetDefinitionFile() const { const uint32_t idx = ePropertyTargetDefinitionFile; - return m_collection_sp->GetPropertyAtIndexAsFileSpec(idx); + return GetPropertyAtIndexAs<FileSpec>(idx, {}); } bool GetUseSVR4() const { |