Skip to content

Commit

Permalink
Revert "Use an artifical namespace so that member vars do not hide lo…
Browse files Browse the repository at this point in the history
…cal vars."

Summary:
This reverts commit 8af14b5f9af68c31ac80945e5b5d56f0a14b38e4.
Reverting as it breaks a few tests on Mac.

Reviewers: spyffe

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D16895

llvm-svn: 259823
  • Loading branch information
Siva Chandra committed Feb 4, 2016
1 parent 6ecf633 commit 77b326f
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 409 deletions.
9 changes: 1 addition & 8 deletions lldb/include/lldb/Symbol/ClangASTContext.h
Expand Up @@ -422,11 +422,6 @@ class ClangASTContext : public TypeSystem
GetUniqueNamespaceDeclaration (const char *name,
clang::DeclContext *decl_ctx);

static clang::NamespaceDecl *
GetUniqueNamespaceDeclaration (clang::ASTContext *ast,
const char *name,
clang::DeclContext *decl_ctx);

//------------------------------------------------------------------
// Function Types
//------------------------------------------------------------------
Expand Down Expand Up @@ -570,9 +565,7 @@ class ClangASTContext : public TypeSystem
//----------------------------------------------------------------------

std::vector<CompilerDecl>
DeclContextFindDeclByName (void *opaque_decl_ctx,
ConstString name,
const bool ignore_using_decls) override;
DeclContextFindDeclByName (void *opaque_decl_ctx, ConstString name) override;

bool
DeclContextIsStructUnionOrClass (void *opaque_decl_ctx) override;
Expand Down
2 changes: 1 addition & 1 deletion lldb/include/lldb/Symbol/CompilerDeclContext.h
Expand Up @@ -66,7 +66,7 @@ class CompilerDeclContext
IsClang () const;

std::vector<CompilerDecl>
FindDeclByName (ConstString name, const bool ignore_using_decls);
FindDeclByName (ConstString name);

//----------------------------------------------------------------------
/// Checks if this decl context represents a method of a class.
Expand Down
4 changes: 1 addition & 3 deletions lldb/include/lldb/Symbol/TypeSystem.h
Expand Up @@ -143,9 +143,7 @@ class TypeSystem : public PluginInterface
//----------------------------------------------------------------------

virtual std::vector<CompilerDecl>
DeclContextFindDeclByName (void *opaque_decl_ctx,
ConstString name,
const bool ignore_imported_decls);
DeclContextFindDeclByName (void *opaque_decl_ctx, ConstString name);

virtual bool
DeclContextIsStructUnionOrClass (void *opaque_decl_ctx) = 0;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 77b326f

Please sign in to comment.