[Lldb-commits] [PATCH] D12044: Fix resolution conflict between global and class static variables in C/C++.

Paul Herman via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 14 16:54:20 PDT 2015


paulherman created this revision.
paulherman added reviewers: clayborg, sivachandra, spyffe.
paulherman added a subscriber: lldb-commits.

Consider having a global variable 'a' and a static variable with the same name inside a class. This resolves the arbitrary choice when resolving the name 'a'.

http://reviews.llvm.org/D12044

Files:
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
  test/lang/cpp/scope/Makefile
  test/lang/cpp/scope/TestCppScope.py
  test/lang/cpp/scope/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12044.32202.patch
Type: text/x-patch
Size: 5943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150814/6b725bd2/attachment.bin>


More information about the lldb-commits mailing list