r219780 - CodeGen: Fix a typo in a comment

David Majnemer david.majnemer at gmail.com
Wed Oct 15 00:57:39 PDT 2014


Author: majnemer
Date: Wed Oct 15 02:57:38 2014
New Revision: 219780

URL: http://llvm.org/viewvc/llvm-project?rev=219780&view=rev
Log:
CodeGen: Fix a typo in a comment

No functionality change intended.

Modified:
    cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp

Modified: cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp?rev=219780&r1=219779&r2=219780&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGRecordLayoutBuilder.cpp Wed Oct 15 02:57:38 2014
@@ -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()) {





More information about the cfe-commits mailing list