]> granicus.if.org Git - clang/commit
When determining whether an expression refers to a bit-field, look
authorDouglas Gregor <dgregor@apple.com>
Sat, 2 May 2009 02:18:30 +0000 (02:18 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 2 May 2009 02:18:30 +0000 (02:18 +0000)
commit33bbbc5ec8269bc2cde5b84f970fa49319a30267
tree229102a2c45a24da3c6f24d503de940f1c3e0900
parentb3b0b3624e462c2940f65b86e773bfc300005203
When determining whether an expression refers to a bit-field, look
into the left-hand side of an assignment expression. This completes
most of PR3500; the only remaining part is to deal with the
GCC-specific implementation-defined behavior for "unsigned long" (and
other) bit-fields.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70623 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/AST/Expr.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
test/Sema/bitfield.c