diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-23 20:22:34 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-23 20:22:34 +0000 |
commit | dbff1a0dde2019f0a7688bf87656d6e5162912fa (patch) | |
tree | f8e348013ab7567fff974a9ee17cd43666d0439a /lib/CodeGen/CGExprConstant.cpp | |
parent | 629f118e6928f69178fab8fad6ff755b33a69f42 (diff) |
Cleanup to use helper.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
-rw-r--r-- | lib/CodeGen/CGExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 006cf5bf99..d2e5bc2a24 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -364,7 +364,7 @@ bool ConstStructBuilder::Build(InitListExpr *ILE) { continue; // Don't emit anonymous bitfields, they just affect layout. - if (Field->isBitField() && !Field->getIdentifier()) { + if (Field->isUnnamedBitfield()) { LastFD = (*Field); continue; } |