summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2018-12-20 22:32:04 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2018-12-20 22:32:04 +0000
commit0876cae0d749ec0a8b643fd98ca8418643eab196 (patch)
treed1a9e1bc02143624288b9dcf3b456368ae6f6e06 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parent5bcd4e8876cad1b85ea067e856daf487d38c486c (diff)
downloadbcm5719-llvm-0876cae0d749ec0a8b643fd98ca8418643eab196.tar.gz
bcm5719-llvm-0876cae0d749ec0a8b643fd98ca8418643eab196.zip
Add support for namespaces on #pragma clang attribute
Namespaces are introduced by adding an "identifier." before a push/pop directive. Pop directives with namespaces can only pop a attribute group that was pushed with the same namespace. Push and pop directives that don't opt into namespaces have the same semantics. This is necessary to prevent a pitfall of using multiple #pragma clang attribute directives spread out in a large file, particularly when macros are involved. It isn't easy to see which pop corripsonds to which push, so its easy to inadvertently pop the wrong group. Differential revision: https://reviews.llvm.org/D55628 llvm-svn: 349845
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud