From 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 25 Nov 2014 21:00:58 +0000 Subject: Import LLDB as of upstream SVN r216948 (git 50f7fe44) This corresponds with the branchpoint for the 3.5 release. A number of files not required for the FreeBSD build have been removed. Sponsored by: DARPA, AFRL --- source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp') diff --git a/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp b/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp index 9beba517ec83f..8e85d4825281f 100644 --- a/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp +++ b/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp @@ -145,7 +145,7 @@ SymbolFileSymtab::GetNumCompileUnits() if (m_source_indexes.empty()) return 0; - // If we have any source file symbols we will logically orgnize the object symbols + // If we have any source file symbols we will logically organize the object symbols // using these. return m_source_indexes.size(); } @@ -366,20 +366,6 @@ SymbolFileSymtab::FindFunctions(const RegularExpression& regex, bool include_inl return 0; } -static int CountMethodArgs(const char *method_signature) -{ - int num_args = 0; - - for (const char *colon_pos = strchr(method_signature, ':'); - colon_pos != NULL; - colon_pos = strchr(colon_pos + 1, ':')) - { - num_args++; - } - - return num_args; -} - uint32_t SymbolFileSymtab::FindTypes (const lldb_private::SymbolContext& sc, const lldb_private::ConstString &name, -- cgit v1.2.3