summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/CompilerDeclContext.cpp
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2016-02-05 19:10:04 +0000
committerSiva Chandra <sivachandra@google.com>2016-02-05 19:10:04 +0000
commit03ff5c8616102dbe7bcd7ae063dd3720030ca54f (patch)
tree3280aa3ff4af3136cbb3cac99d94279e419d4186 /lldb/source/Symbol/CompilerDeclContext.cpp
parentd79514e24b4da111b6b08535f975ae8f4d81c26d (diff)
downloadbcm5719-llvm-03ff5c8616102dbe7bcd7ae063dd3720030ca54f.tar.gz
bcm5719-llvm-03ff5c8616102dbe7bcd7ae063dd3720030ca54f.zip
Take 2: Use an artifical namespace so that member vars do not hide local vars.
Summary: This relands r259810 with fix for failures on Mac. Reviewers: spyffe, tfiala Subscribers: tfiala, lldb-commits Differential Revision: http://reviews.llvm.org/D16900 llvm-svn: 259902
Diffstat (limited to 'lldb/source/Symbol/CompilerDeclContext.cpp')
-rw-r--r--lldb/source/Symbol/CompilerDeclContext.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Symbol/CompilerDeclContext.cpp b/lldb/source/Symbol/CompilerDeclContext.cpp
index 8bee1b48753..10a70d97f23 100644
--- a/lldb/source/Symbol/CompilerDeclContext.cpp
+++ b/lldb/source/Symbol/CompilerDeclContext.cpp
@@ -15,10 +15,11 @@
using namespace lldb_private;
std::vector<CompilerDecl>
-CompilerDeclContext::FindDeclByName (ConstString name)
+CompilerDeclContext::FindDeclByName (ConstString name, const bool ignore_using_decls)
{
if (IsValid())
- return m_type_system->DeclContextFindDeclByName(m_opaque_decl_ctx, name);
+ return m_type_system->DeclContextFindDeclByName(
+ m_opaque_decl_ctx, name, ignore_using_decls);
else
return std::vector<CompilerDecl>();
}
OpenPOWER on IntegriCloud