summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ASTResultSynthesizer.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-11-19 02:54:21 +0000
committerSean Callanan <scallanan@apple.com>2011-11-19 02:54:21 +0000
commit7f27d6044e5c31ec53ecdeb5faa666d7a78c4e94 (patch)
tree6fed56e46e356ee318957cff19eb6494438040c0 /lldb/source/Expression/ASTResultSynthesizer.cpp
parent3b608422e8ff9e50d05f5f6c1b4760f9fc339aa0 (diff)
downloadbcm5719-llvm-7f27d6044e5c31ec53ecdeb5faa666d7a78c4e94.tar.gz
bcm5719-llvm-7f27d6044e5c31ec53ecdeb5faa666d7a78c4e94.zip
Pulled in a new revision of LLVM/Clang and added
several patches. These patches fix a problem where templated types were not being completed the first time they were used, and fix a variety of minor issues I discovered while fixing that problem. One of the previous local patches was resolved in the most recent Clang, so I removed it. The others will be removed in due course. llvm-svn: 144984
Diffstat (limited to 'lldb/source/Expression/ASTResultSynthesizer.cpp')
-rw-r--r--lldb/source/Expression/ASTResultSynthesizer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp
index cb832fa5a53..f28f8f1b735 100644
--- a/lldb/source/Expression/ASTResultSynthesizer.cpp
+++ b/lldb/source/Expression/ASTResultSynthesizer.cpp
@@ -108,7 +108,7 @@ ASTResultSynthesizer::TransformTopLevelDecl(Decl* D)
}
}
-void
+bool
ASTResultSynthesizer::HandleTopLevelDecl(DeclGroupRef D)
{
DeclGroupRef::iterator decl_iterator;
@@ -123,7 +123,8 @@ ASTResultSynthesizer::HandleTopLevelDecl(DeclGroupRef D)
}
if (m_passthrough)
- m_passthrough->HandleTopLevelDecl(D);
+ return m_passthrough->HandleTopLevelDecl(D);
+ return true;
}
bool
OpenPOWER on IntegriCloud