diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2018-12-20 22:32:04 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2018-12-20 22:32:04 +0000 |
commit | 0876cae0d749ec0a8b643fd98ca8418643eab196 (patch) | |
tree | d1a9e1bc02143624288b9dcf3b456368ae6f6e06 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 5bcd4e8876cad1b85ea067e856daf487d38c486c (diff) | |
download | bcm5719-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/configuration.py')
0 files changed, 0 insertions, 0 deletions