[all-commits] [llvm/llvm-project] daeb70: [clang][NFC] Reorder CXXCtorInitializer members

Nathan James via All-commits all-commits at lists.llvm.org
Mon Feb 22 07:26:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daeb70be0bd42fbed66c03b4c5f9940ffba88ce9
      https://github.com/llvm/llvm-project/commit/daeb70be0bd42fbed66c03b4c5f9940ffba88ce9
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M clang/include/clang/AST/DeclCXX.h
    M clang/lib/AST/DeclCXX.cpp

  Log Message:
  -----------
  [clang][NFC] Reorder CXXCtorInitializer members

Swapping the order of Init and MemberOrEllipsisLocation removes 8 bytes (20%) of padding on 64bit builds.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list