summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2018-08-16 10:48:16 +0000
committerBruno Ricci <riccibrun@gmail.com>2018-08-16 10:48:16 +0000
commitd6bd5983eed46607448dc1901f94691ba241d4ac (patch)
treeb626492bf65c048e48d970d1f3dcc396111e14e1 /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct
parent08672ecef9122d4aa1e96cada56e4ed8c7019908 (diff)
downloadbcm5719-llvm-d6bd5983eed46607448dc1901f94691ba241d4ac.tar.gz
bcm5719-llvm-d6bd5983eed46607448dc1901f94691ba241d4ac.zip
[AST] Store the OwnedTagDecl as a trailing object in ElaboratedType.
The TagDecl *OwnedTagDecl in ElaboratedType is quite commonly null (at least when parsing all of Boost, it is non-null for only about 600 of the 66k ElaboratedType). Therefore we can save a pointer in the common case by storing it as a trailing object, and storing a bit in the bit-fields of Type indicating when the pointer is null. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D50715 llvm-svn: 339862
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud