summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-01-25 10:34:06 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-01-25 10:34:06 +0000
commit54f81ed325f05b46f5bc0b63524d72103437b795 (patch)
tree89e2ee44d5a38ab794778a0308bf5201ad5b5c70 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent65b85382f60991929b4abca37bce8e7c1d1df0fb (diff)
downloadbcm5719-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/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud