Diagnose attempt to take address of bitfield members in anonymous structs.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Apr 2017 21:49:46 +0000 (21:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Apr 2017 21:49:46 +0000 (21:49 +0000)
commitcf681266e611d030258d5a801d2bb03ba3095692
treeb2f33331e1acd14f59f1b21adfea5413bc0f07ec
parent3e1fc3f6fe2db16c531ea09983fdd8f59e6f89ba
Diagnose attempt to take address of bitfield members in anonymous structs.

Patch by Jacob Young!

Differential Revision: https://reviews.llvm.org/D27263

llvm-svn: 300264
clang/lib/Sema/SemaExpr.cpp
clang/test/Sema/expr-address-of.c
clang/test/SemaCXX/ptrtomember.cpp