r219279 - AST: Fix a typo (NFC)

Justin Bogner mail at justinbogner.com
Tue Oct 7 22:45:40 PDT 2014


Author: bogner
Date: Wed Oct  8 00:45:39 2014
New Revision: 219279

URL: http://llvm.org/viewvc/llvm-project?rev=219279&view=rev
Log:
AST: Fix a typo (NFC)

Modified:
    cfe/trunk/lib/AST/RecordLayoutBuilder.cpp

Modified: cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/RecordLayoutBuilder.cpp?rev=219279&r1=219278&r2=219279&view=diff
==============================================================================
--- cfe/trunk/lib/AST/RecordLayoutBuilder.cpp (original)
+++ cfe/trunk/lib/AST/RecordLayoutBuilder.cpp Wed Oct  8 00:45:39 2014
@@ -2097,7 +2097,7 @@ static bool isMsLayout(const RecordDecl*
 // * 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





More information about the cfe-commits mailing list