Skip to content

Commit 4cea3c3

Browse files
authored
[Clang] Fix typo in ItaniumRecordLayoutBuilder API (#118563)
1 parent 9730760 commit 4cea3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/RecordLayoutBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ class ItaniumRecordLayoutBuilder {
818818
void setSize(CharUnits NewSize) { Size = Context.toBits(NewSize); }
819819
void setSize(uint64_t NewSize) { Size = NewSize; }
820820

821-
CharUnits getAligment() const { return Alignment; }
821+
CharUnits getAlignment() const { return Alignment; }
822822

823823
CharUnits getDataSize() const {
824824
assert(DataSize % Context.getCharWidth() == 0);

0 commit comments

Comments
 (0)