summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionDeclMap.cpp8
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)
{
OpenPOWER on IntegriCloud