summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-09-06 07:54:47 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-09-06 07:54:47 +0000
commitdd8e73ffc01a75e811855675e29aa46659413f6b (patch)
tree7822da72e4d6cd2ef756f1e1141dcb815d80c307
parentff2172c9f4a089f740993f21465be03cdcc42046 (diff)
downloadbcm5719-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.h1
-rw-r--r--lldb/source/Utility/Args.cpp6
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
OpenPOWER on IntegriCloud