diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-09-06 07:54:47 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-09-06 07:54:47 +0000 |
commit | dd8e73ffc01a75e811855675e29aa46659413f6b (patch) | |
tree | 7822da72e4d6cd2ef756f1e1141dcb815d80c307 | |
parent | ff2172c9f4a089f740993f21465be03cdcc42046 (diff) | |
download | bcm5719-llvm-dd8e73ffc01a75e811855675e29aa46659413f6b.tar.gz bcm5719-llvm-dd8e73ffc01a75e811855675e29aa46659413f6b.zip |
[lldb][NFC] Remove unused Args::GetArgumentQuoteCharAtIndex
llvm-svn: 371176
-rw-r--r-- | lldb/include/lldb/Utility/Args.h | 1 | ||||
-rw-r--r-- | lldb/source/Utility/Args.cpp | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/lldb/include/lldb/Utility/Args.h b/lldb/include/lldb/Utility/Args.h index 2677f228607..5b2f16e9923 100644 --- a/lldb/include/lldb/Utility/Args.h +++ b/lldb/include/lldb/Utility/Args.h @@ -121,7 +121,6 @@ public: const char *GetArgumentAtIndex(size_t idx) const; llvm::ArrayRef<ArgEntry> entries() const { return m_entries; } - char GetArgumentQuoteCharAtIndex(size_t idx) const; using const_iterator = std::vector<ArgEntry>::const_iterator; diff --git a/lldb/source/Utility/Args.cpp b/lldb/source/Utility/Args.cpp index 5efad66a969..64577bee31a 100644 --- a/lldb/source/Utility/Args.cpp +++ b/lldb/source/Utility/Args.cpp @@ -260,12 +260,6 @@ const char *Args::GetArgumentAtIndex(size_t idx) const { return nullptr; } -char Args::GetArgumentQuoteCharAtIndex(size_t idx) const { - if (idx < m_entries.size()) - return m_entries[idx].quote; - return '\0'; -} - char **Args::GetArgumentVector() { assert(!m_argv.empty()); // TODO: functions like execve and posix_spawnp exhibit undefined behavior |