We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac27f4b commit 41b6128Copy full SHA for 41b6128
clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
@@ -423,13 +423,14 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
423
};
424
425
//
426
- // Alignement and size helpers
+ // Alignment and size helpers
427
428
429
// Note that mlir::IntegerType is used instead of cir::IntType here because we
430
// don't need sign information for these to be useful, so keep it simple.
431
432
- // For 0 alignment, return an empty attribute.
+ // For 0 alignment, any overload of `getAlignmentAttr` returns an empty
433
+ // attribute.
434
mlir::IntegerAttr getAlignmentAttr(clang::CharUnits alignment) {
435
return getAlignmentAttr(alignment.getQuantity());
436
}
0 commit comments