================ @@ -128,6 +128,15 @@ class CodeGenTypes { /// memory representation is usually i8 or i32, depending on the target. llvm::Type *ConvertTypeForMem(QualType T, bool ForBitField = false); + /// Check that size and abi alignment of given LLVM type matches size and + /// alignment of given AST type. + bool LLVMTypeLayoutMatchesAST(QualType ASTTy, llvm::Type *LLVMTy); ---------------- Fznamznon wrote:
Renamed to `typeRequiresSplitIntoByteArray`. Let me know if this is better. https://github.com/llvm/llvm-project/pull/91364 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits