]> granicus.if.org Git - clang/commit
Diagnose __builtin_offsetof on incomplete types. Fixes
authorJohn McCall <rjmccall@apple.com>
Wed, 4 Nov 2009 03:03:43 +0000 (03:03 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 4 Nov 2009 03:03:43 +0000 (03:03 +0000)
commitd00f200f64994858492558b54c6f6f2b3d4b4310
tree181d814ddc8bd8e284c8c3472a09431d1d72497a
parent54abf7d4fa3123b8324c09d2a4dfb789fd818403
Diagnose __builtin_offsetof on incomplete types.  Fixes
rdar://problem/7222956

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85999 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/offsetof.c