]> granicus.if.org Git - clang/commit
C++11 weakens the requirement for types used with offsetof from POD to standard layou...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Apr 2012 11:14:51 +0000 (11:14 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Apr 2012 11:14:51 +0000 (11:14 +0000)
commit98f71aae339e00bfc7b556a78e2538931198ec9c
tree6f8b1bd10cd3dfa81fb85ae355458f772076f89f
parent152f6b7be508fbc61543f3736ebd390d7ac84bd1
C++11 weakens the requirement for types used with offsetof from POD to standard layout type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155757 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/SemaCXX/offsetof-0x.cpp [new file with mode: 0644]