[llvm-branch-commits] [clang] [CIR] Derive record padding from the member marks (PR #215176)
Adam Smith via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 14 07:29:09 PDT 2026
================
@@ -195,33 +195,8 @@ uint64_t CIRGenBuilderTy::computeOffsetFromGlobalViewIndices(
return offset;
}
-cir::RecordType clang::CIRGen::CIRGenBuilderTy::getCompleteRecordType(
----------------
adams381 wrote:
Now that members are always properly marked and `padded` is removed, there is no need for this function. Its whole point was manufacturing a record type from (members, packed, padded), and we get that for free now. No need to construct it with `getCompleteRecordType` anymore.
https://github.com/llvm/llvm-project/pull/215176
More information about the llvm-branch-commits
mailing list