[all-commits] [llvm/llvm-project] 3745f4: Fix to msvc::no_unique_address causing assert when...
Amy Huang via All-commits
all-commits at lists.llvm.org
Mon Dec 11 10:39:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3745f475875d763b65541e0bab195b0d774ff9c8
https://github.com/llvm/llvm-project/commit/3745f475875d763b65541e0bab195b0d774ff9c8
Author: Amy Huang <akhuang at google.com>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
M clang/lib/AST/RecordLayoutBuilder.cpp
M clang/test/Layout/ms-x86-declspec-empty_bases.cpp
Log Message:
-----------
Fix to msvc::no_unique_address causing assert when used with __declspec(empty_bases) (#74776)
no_unique_address makes it possible for a class to be empty and have
non-zero virtual size, so just remove this assert.
Bug: https://github.com/llvm/llvm-project/issues/74442
More information about the All-commits
mailing list