================
@@ -104,6 +104,10 @@ class Type {
return alignTo(getTypeStoreSize(), getAlignment().value());
}
+ /// Unlike getSizeInBits this includes trailing padding, matching Clang
+ /// ASTContext::getTypeSize.
+ TypeSize getTypeAllocSizeInBits() const { return getTypeAllocSize() * 8; }
----------------
aobolensk wrote:
Dropped
https://github.com/llvm/llvm-project/pull/223259
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits