]> granicus.if.org Git - clang/commitdiff
Fix typo in comment.
authorNick Lewycky <nicholas@mxc.ca>
Tue, 22 Mar 2011 17:35:47 +0000 (17:35 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 22 Mar 2011 17:35:47 +0000 (17:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128088 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGRecordLayoutBuilder.cpp

index ceae66f3849e37f63497ebbbbf37cfd008da62c6..9b1adf46fe385cdfb13c605a3d9b742b9c82a992 100644 (file)
@@ -242,7 +242,7 @@ CGBitFieldInfo CGBitFieldInfo::MakeInfo(CodeGenTypes &Types,
   assert(llvm::isPowerOf2_32(TypeSizeInBits) && "Unexpected type size!");
   CGBitFieldInfo::AccessInfo Components[3];
   unsigned NumComponents = 0;
-  unsigned AccessedTargetBits = 0;       // The tumber of target bits accessed.
+  unsigned AccessedTargetBits = 0;       // The number of target bits accessed.
   unsigned AccessWidth = TypeSizeInBits; // The current access width to attempt.
 
   // Round down from the field offset to find the first access position that is