summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace
diff options
context:
space:
mode:
authorDon Hinton <hintonda@gmail.com>2019-06-22 17:22:50 +0000
committerDon Hinton <hintonda@gmail.com>2019-06-22 17:22:50 +0000
commita5b83bc9e3b8e8945b55068c762bd6c73621a4b0 (patch)
treeabbffae8fa14b46047ea093bf0b17244181b01a3 /lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace
parent6f3222ed94f17bb47c8661758f659ffe6555b279 (diff)
downloadbcm5719-llvm-a5b83bc9e3b8e8945b55068c762bd6c73621a4b0.tar.gz
bcm5719-llvm-a5b83bc9e3b8e8945b55068c762bd6c73621a4b0.zip
[CommandLine] Remove OptionCategory and SubCommand caches from the Option class.
Summary: This change processes `OptionCategory`s and `SubCommand`s as they are seen instead of caching them in the Option class and processing them later. Doing so simplifies the work needed to be done by the Global parser and significantly reduces the size of the Option class to a mere 64 bytes. Removing the `OptionCategory` cache saved 24 bytes, and removing the `SubCommand` cache saved an additional 48 bytes, for a total of a 72 byte reduction. Reviewers: beanz, zturner, MaskRay, serge-sans-paille Reviewed By: serge-sans-paille Subscribers: serge-sans-paille, tstellar, zturner, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62105 llvm-svn: 364134
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud