[all-commits] [llvm/llvm-project] c7e825: [format][NFC] Use unsigned char as the base of all...

Nathan James via All-commits all-commits at lists.llvm.org
Wed Dec 23 12:32:48 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c7e825b910a96c42bda1de4e7fb34c369da76625
      https://github.com/llvm/llvm-project/commit/c7e825b910a96c42bda1de4e7fb34c369da76625
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
    M clang/docs/tools/dump_format_style.py
    M clang/include/clang/Format/Format.h

  Log Message:
  -----------
  [format][NFC] Use unsigned char as the base of all enums in FormatStyle

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

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D93758




More information about the All-commits mailing list