]> granicus.if.org Git - clang/commitdiff
CodeGen: Fix a typo in a comment
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 15 Oct 2014 07:57:38 +0000 (07:57 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 15 Oct 2014 07:57:38 +0000 (07:57 +0000)
No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219780 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGRecordLayoutBuilder.cpp

index b2a47476f7d46775faae184a12823eb882807f9b..9e7efa083aef9fc3203623839243e2e3792d642a 100644 (file)
@@ -285,7 +285,7 @@ void CGRecordLowering::lowerUnion() {
   // Iterate through the fields setting bitFieldInfo and the Fields array. Also
   // locate the "most appropriate" storage type.  The heuristic for finding the
   // storage type isn't necessary, the first (non-0-length-bitfield) field's
-  // type would work fine and be simpler but would be differen than what we've
+  // type would work fine and be simpler but would be different than what we've
   // been doing and cause lit tests to change.
   for (const auto *Field : D->fields()) {
     if (Field->isBitField()) {