[Lldb-commits] [PATCH] D16746: Use an artifical namespace so that member vars do not hide local vars.

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 2 16:04:37 PST 2016


sivachandra updated this revision to Diff 46717.
sivachandra added a comment.

1. Added tests.
2. Extended the scope of this feature in presense of "using namespace <name>;"

decls.

3. Addressed one of the two comments by Sean. Will respond to the other on the

review page.


http://reviews.llvm.org/D16746

Files:
  include/lldb/Symbol/ClangASTContext.h
  include/lldb/Symbol/CompilerDeclContext.h
  include/lldb/Symbol/TypeSystem.h
  packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/Makefile
  packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
  packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/main.cpp
  source/Expression/ExpressionSourceCode.cpp
  source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
  source/Symbol/ClangASTContext.cpp
  source/Symbol/CompilerDeclContext.cpp
  source/Symbol/TypeSystem.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16746.46717.patch
Type: text/x-patch
Size: 25045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160203/33978d5d/attachment-0001.bin>


More information about the lldb-commits mailing list