[PATCH] D93758: [format][NFC] Use unsigned char as the base of all enums in FormatStyle

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 23 04:02:11 PST 2020


njames93 created this revision.
njames93 added a reviewer: MyDeveloperDay.
njames93 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This removes alot of unnecessary padding, trimming the size of the struct from 728->608 on 64 bit platforms.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93758

Files:
  clang/include/clang/Format/Format.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93758.313529.patch
Type: text/x-patch
Size: 9193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201223/6b99147a/attachment.bin>


More information about the cfe-commits mailing list