diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-25 10:34:06 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-25 10:34:06 +0000 |
commit | 54f81ed325f05b46f5bc0b63524d72103437b795 (patch) | |
tree | 89e2ee44d5a38ab794778a0308bf5201ad5b5c70 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 65b85382f60991929b4abca37bce8e7c1d1df0fb (diff) | |
download | bcm5719-llvm-54f81ed325f05b46f5bc0b63524d72103437b795.tar.gz bcm5719-llvm-54f81ed325f05b46f5bc0b63524d72103437b795.zip |
Fix printing of types in initializers with suppressed tags.
Tag and specifier printing can be suppressed in Decl::printGroup, but these suppressions leak into the initializers. Thus
int *x = ((void *)0), *y = ((void *)0);
gets printed as
int *x = ((void *)0), *y = ((*)0);
And
struct { struct Z z; } z = {(struct Z){}};
gets printed as
struct { struct Z z; } z = {(){}};
The stops the suppressions from leaking into the initializers.
Patch by Nick Sumner!
Differential Revision: http://reviews.llvm.org/D16438
llvm-svn: 258679
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions