]> granicus.if.org Git - clang/commit
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)
commit18974a9561e3bc3bddc03430a7ecbf226c9121ef
treee40f6052a13c8caf248165d218d26b81c0757520
parent24a137ec645bd77f10353247a0a63e0a082a11ec
Diagnose attempt to take address of bitfield members in anonymous structs.

Patch by Jacob Young!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300264 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/expr-address-of.c
test/SemaCXX/ptrtomember.cpp