summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/StringExtractor.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-03-20 06:08:36 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-03-20 06:08:36 +0000
commita68f7b67f173abecc0ebaefa63dde9a93e78137e (patch)
treedcb100b47b23e45aa6781caa5410cbda22ead338 /lldb/source/Utility/StringExtractor.cpp
parent2643b9053e2fff0247fb57716f20a00ca5b1abe9 (diff)
downloadbcm5719-llvm-a68f7b67f173abecc0ebaefa63dde9a93e78137e.tar.gz
bcm5719-llvm-a68f7b67f173abecc0ebaefa63dde9a93e78137e.zip
cleanup unreferenced functions
This is a mechanical cleanup of unused functions. In the case where the functions are referenced (in comment form), I've simply commented out the functions. A second pass to clean that up is warranted. The functions which are otherwise unused have been removed. Some of these were introduced in the initial commit and not in use prior to that point! NFC llvm-svn: 204310
Diffstat (limited to 'lldb/source/Utility/StringExtractor.cpp')
-rw-r--r--lldb/source/Utility/StringExtractor.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lldb/source/Utility/StringExtractor.cpp b/lldb/source/Utility/StringExtractor.cpp
index 9d231570882..d50395ddbae 100644
--- a/lldb/source/Utility/StringExtractor.cpp
+++ b/lldb/source/Utility/StringExtractor.cpp
@@ -63,16 +63,6 @@ xdigit_to_sint (char ch)
return ch - '0';
}
-static inline unsigned int
-xdigit_to_uint (uint8_t ch)
-{
- if (ch >= 'a' && ch <= 'f')
- return 10u + ch - 'a';
- if (ch >= 'A' && ch <= 'F')
- return 10u + ch - 'A';
- return ch - '0';
-}
-
//----------------------------------------------------------------------
// StringExtractor constructor
//----------------------------------------------------------------------
OpenPOWER on IntegriCloud