]> granicus.if.org Git - clang/commitdiff
AST: Fix a typo (NFC)
authorJustin Bogner <mail@justinbogner.com>
Wed, 8 Oct 2014 05:45:39 +0000 (05:45 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 8 Oct 2014 05:45:39 +0000 (05:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219279 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/RecordLayoutBuilder.cpp

index 798f9f39c3f0fc229333f66c2fef52b5d0948c10..be326320d013946aff9b584fbbb021f78cbd640c 100644 (file)
@@ -2097,7 +2097,7 @@ static bool isMsLayout(const RecordDecl* D) {
 // * There is a distinction between alignment and required alignment.
 //   __declspec(align) changes the required alignment of a struct.  This
 //   alignment is _always_ obeyed, even in the presence of #pragma pack. A
-//   record inherites required alignment from all of its fields and bases.
+//   record inherits required alignment from all of its fields and bases.
 // * __declspec(align) on bitfields has the effect of changing the bitfield's
 //   alignment instead of its required alignment.  This is the only known way
 //   to make the alignment of a struct bigger than 8.  Interestingly enough