Swapping the order of Init and MemberOrEllipsisLocation removes 8 bytes (20%) of padding on 64bit builds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D97191
[clang][NFC] Reorder CXXCtorInitializer members ClosedPublic Authored by njames93 on Feb 22 2021, 6:39 AM.
Details Summary Swapping the order of Init and MemberOrEllipsisLocation removes 8 bytes (20%) of padding on 64bit builds.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 22 2021, 6:44 AM Closed by commit rGdaeb70be0bd4: [clang][NFC] Reorder CXXCtorInitializer members (authored by njames93). · Explain WhyFeb 22 2021, 7:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 325436 clang/include/clang/AST/DeclCXX.h
clang/lib/AST/DeclCXX.cpp
|