diff --git a/clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h b/clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h index 27f7699ce7b7..598cc7e1c541 100644 --- a/clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h +++ b/clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h @@ -584,13 +584,14 @@ class CIRBaseBuilderTy : public mlir::OpBuilder { }; // - // Alignement and size helpers + // Alignment and size helpers // // Note that mlir::IntegerType is used instead of cir::IntType here because we // don't need sign information for these to be useful, so keep it simple. - // Fot 0 alignment, return an empty attribute. + // For 0 alignment, any overload of `getAlignmentAttr` returns an empty + // attribute. mlir::IntegerAttr getAlignmentAttr(clang::CharUnits alignment) { return getAlignmentAttr(alignment.getQuantity()); }