jansvoboda11 created this revision. jansvoboda11 added reviewers: srj, mgorny, Bigcheese. Herald added a subscriber: ributzka. Herald added a project: All. jansvoboda11 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
This makes `llvm::PointerIntPair<Module *, 3>` from f35230ae <https://reviews.llvm.org/rGf35230ae0a69bbdd74a4faa3ae0b69a46796dc12> work across platforms. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D134653 Files: clang/include/clang/Basic/Module.h Index: clang/include/clang/Basic/Module.h =================================================================== --- clang/include/clang/Basic/Module.h +++ clang/include/clang/Basic/Module.h @@ -93,7 +93,7 @@ }; /// Describes a module or submodule. -class Module { +class alignas(8) Module { public: /// The name of this module. std::string Name;
Index: clang/include/clang/Basic/Module.h =================================================================== --- clang/include/clang/Basic/Module.h +++ clang/include/clang/Basic/Module.h @@ -93,7 +93,7 @@ }; /// Describes a module or submodule. -class Module { +class alignas(8) Module { public: /// The name of this module. std::string Name;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits