[PATCH] D62105: [CommandLine} Remove SubCommands SmallPtrSet from the Option class.
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 18 22:01:51 PDT 2019
hintonda created this revision.
hintonda added a reviewer: beanz.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
This change processes SubCommands 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 by 48 bytes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62105
Files:
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/CommandLine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62105.200169.patch
Type: text/x-patch
Size: 6973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190519/2e8a0c04/attachment.bin>
More information about the llvm-commits
mailing list