diff options
author | Sean Callanan <scallanan@apple.com> | 2011-10-13 22:18:56 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-10-13 22:18:56 +0000 |
commit | c6bba3e46d572fb00bc98b930d9057f25cde0f13 (patch) | |
tree | 1ad8af64541b82f2823a5db3f7507e0c6e734c9c /lldb/source/Expression/ClangExpressionDeclMap.cpp | |
parent | a722170eb95ddbf6b1223b6739b93058d996e05d (diff) | |
download | bcm5719-llvm-c6bba3e46d572fb00bc98b930d9057f25cde0f13.tar.gz bcm5719-llvm-c6bba3e46d572fb00bc98b930d9057f25cde0f13.zip |
Cleaned up a few functions that never get used.
Specifically, the expression parser used to use
functions attached to SymbolContext to do lookups,
but nowadays it searches a ModuleList or Module
directly instead. These functions had no
remaining clients so I removed them to prevent
bit rot.
I also removed a stray callback function from
ClangExpressionDeclMap.
llvm-svn: 141899
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 6db37572f8f..570570c610f 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -1970,23 +1970,6 @@ ClangExpressionDeclMap::FindGlobalDataSymbol return NULL; } -// This is a callback used with Variable::GetValuesForVariableExpressionPath - -static uint32_t GetVariableCallback (void *baton, - const char *name, - VariableList &variable_list) -{ - Target *target = static_cast<Target *>(baton); - if (target) - { - return target->GetImages().FindGlobalVariables (ConstString(name), - true, - UINT32_MAX, - variable_list); - } - return 0; -} - lldb::VariableSP ClangExpressionDeclMap::FindGlobalVariable ( |