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 8614722 commit 1972172Copy full SHA for 1972172
clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
@@ -584,13 +584,14 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
584
};
585
586
//
587
- // Alignement and size helpers
+ // Alignment and size helpers
588
589
590
// Note that mlir::IntegerType is used instead of cir::IntType here because we
591
// don't need sign information for these to be useful, so keep it simple.
592
593
- // Fot 0 alignment, return an empty attribute.
+ // For 0 alignment, any overload of `getAlignmentAttr` returns an empty
594
+ // attribute.
595
mlir::IntegerAttr getAlignmentAttr(clang::CharUnits alignment) {
596
return getAlignmentAttr(alignment.getQuantity());
597
}
0 commit comments