[clang] [clang][NFC] Specify Type and ExtQuals as having 16-byte alignment (PR #68377)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 7 00:04:57 PDT 2023
================
@@ -1507,6 +1508,9 @@ class ExtQuals : public ExtQualsTypeCommonBase, public llvm::FoldingSetNode {
: ExtQualsTypeCommonBase(baseType,
canon.isNull() ? QualType(this_(), 0) : canon),
Quals(quals) {
+ static_assert(alignof(decltype(*this)) % TypeAlignment == 0,
----------------
Endilll wrote:
Makes sense. I removed this static assert.
https://github.com/llvm/llvm-project/pull/68377
More information about the cfe-commits
mailing list