[clang] [Clang] Fix typo in ItaniumRecordLayoutBuilder API (PR #118563)

Eric Wang via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 05:48:08 PST 2024


================
@@ -818,7 +818,7 @@ class ItaniumRecordLayoutBuilder {
   void setSize(CharUnits NewSize) { Size = Context.toBits(NewSize); }
   void setSize(uint64_t NewSize) { Size = NewSize; }
 
-  CharUnits getAligment() const { return Alignment; }
+  CharUnits getAlignment() const { return Alignment; }
----------------
Ptkyr wrote:

Nope, just something I happened to notice when debugging something else. Not sure how well-received tiny prs like these are, but figured it was worth pointing out.

https://github.com/llvm/llvm-project/pull/118563


More information about the cfe-commits mailing list