diff options
author | Bruno Ricci <riccibrun@gmail.com> | 2018-08-16 10:48:16 +0000 |
---|---|---|
committer | Bruno Ricci <riccibrun@gmail.com> | 2018-08-16 10:48:16 +0000 |
commit | d6bd5983eed46607448dc1901f94691ba241d4ac (patch) | |
tree | b626492bf65c048e48d970d1f3dcc396111e14e1 /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp | |
parent | 08672ecef9122d4aa1e96cada56e4ed8c7019908 (diff) | |
download | bcm5719-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/main.cpp')
0 files changed, 0 insertions, 0 deletions