[cfe-commits] r138369 - /cfe/trunk/lib/CodeGen/CGExprConstant.cpp

Eli Friedman eli.friedman at gmail.com
Tue Aug 23 13:22:34 PDT 2011


Author: efriedma
Date: Tue Aug 23 15:22:34 2011
New Revision: 138369

URL: http://llvm.org/viewvc/llvm-project?rev=138369&view=rev
Log:
Cleanup to use helper.


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

Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprConstant.cpp?rev=138369&r1=138368&r2=138369&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprConstant.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprConstant.cpp Tue Aug 23 15:22:34 2011
@@ -364,7 +364,7 @@
       continue;
 
     // Don't emit anonymous bitfields, they just affect layout.
-    if (Field->isBitField() && !Field->getIdentifier()) {
+    if (Field->isUnnamedBitfield()) {
       LastFD = (*Field);
       continue;
     }





More information about the cfe-commits mailing list