r218628 - AST: Fix a typo in RecordLayoutBuilder
David Majnemer
david.majnemer at gmail.com
Mon Sep 29 14:38:08 PDT 2014
Author: majnemer
Date: Mon Sep 29 16:38:08 2014
New Revision: 218628
URL: http://llvm.org/viewvc/llvm-project?rev=218628&view=rev
Log:
AST: Fix a typo in RecordLayoutBuilder
No functional change intended.
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=218628&r1=218627&r2=218628&view=diff
==============================================================================
--- cfe/trunk/lib/AST/RecordLayoutBuilder.cpp (original)
+++ cfe/trunk/lib/AST/RecordLayoutBuilder.cpp Mon Sep 29 16:38:08 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 an bases.
+// record inherites 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