]> granicus.if.org Git - clang/commit
When complaining about a non-POD second argument to va_arg, use a
authorDouglas Gregor <dgregor@apple.com>
Sat, 30 Jul 2011 06:45:27 +0000 (06:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 30 Jul 2011 06:45:27 +0000 (06:45 +0000)
commit4eb7522e70a7212328089f0ef490380a9ba322a3
treee7304bbfada9b2c5fe84303122c774bf49a515f2
parent2c7b7803182d1796225bf420d17b216bd81f75b0
When complaining about a non-POD second argument to va_arg, use a
special diagnostic for ARC ownership-qualified types. We wouldn't want
to expose Objective-C programmers to the term "POD", would we? Fixes
<rdar://problem/9772982>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136558 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/SemaObjC/arc-non-pod-memaccess.m