[PATCH] D71438: [CommandLine] Move categories out of Option and into parser [NFC}

Don Hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 14:48:18 PST 2019


hintonda created this revision.
hintonda added reviewers: beanz, MaskRay, serge-sans-paille, zturner, pete.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

This change reduces the size of each Option by only storing category
info that's actually used in the global parser.  Saves 24 bytes per
Option.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71438

Files:
  llvm/include/llvm/Support/CommandLine.h
  llvm/lib/Support/CommandLine.cpp
  llvm/unittests/Support/CommandLineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71438.233685.patch
Type: text/x-patch
Size: 10678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191212/0d8c1f4e/attachment.bin>


More information about the llvm-commits mailing list