================
@@ -105,6 +105,10 @@ class Type {
return alignTo(getTypeStoreSize(), getAlignment().value());
}
+ /// Unlike getSizeInBits this includes trailing padding, matching Clang
+ /// ASTContext::getTypeSize.
+ TypeSize getTypeAllocSizeInBits() const { return getTypeAllocSize() * 8; }
----------------
skc7 wrote:
Doesn't seem to be used by anything in this PR, could we drop this?
https://github.com/llvm/llvm-project/pull/238348
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits