diff options
author | Sean Callanan <scallanan@apple.com> | 2010-10-29 20:30:26 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-10-29 20:30:26 +0000 |
commit | e35831a23ca78dce769528d5c33fb59f61cc8c4a (patch) | |
tree | 24b511bfd04cf485a4b7ebdb20a2b019c8d6e825 /lldb/source/Expression/ClangExpressionDeclMap.cpp | |
parent | b00c8e83dd324d1840c03e8d8dce5d62c2ff7eaa (diff) | |
download | bcm5719-llvm-e35831a23ca78dce769528d5c33fb59f61cc8c4a.tar.gz bcm5719-llvm-e35831a23ca78dce769528d5c33fb59f61cc8c4a.zip |
Overloading is not broken any more. No need for
an #ifndef.
llvm-svn: 117706
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 4b540c0fa38..1c373aa0d25 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -1288,9 +1288,6 @@ ClangExpressionDeclMap::AddOneFunction(NameSearchContext &context, if (fun) { -#define BROKEN_OVERLOADING - // Awaiting a fix on the Clang side -#ifndef BROKEN_OVERLOADING Type *fun_type = fun->GetType(); if (!fun_type) @@ -1316,11 +1313,6 @@ ClangExpressionDeclMap::AddOneFunction(NameSearchContext &context, void *copied_type = ClangASTContext::CopyType(context.GetASTContext(), fun_ast_context, fun_opaque_type); fun_decl = context.AddFunDecl(copied_type); -#else - fun_address = &fun->GetAddressRange().GetBaseAddress(); - - fun_decl = context.AddGenericFunDecl(); -#endif } else if (symbol) { |