]> granicus.if.org Git - clang/commit
It's an error to call offsetof on a non-POD type.
authorAnders Carlsson <andersca@mac.com>
Fri, 1 May 2009 23:20:30 +0000 (23:20 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 1 May 2009 23:20:30 +0000 (23:20 +0000)
commit6d7f149b0bff12e8f74c372e50b6e9a9ea980425
tree1d6e03fd2b99f8c00efd9e6634f4e981eaea4020
parente0a809265c3ec4eadacbeb6e040b26a153e8e21d
It's an error to call offsetof on a non-POD type.

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