Don't require nullability on 'va_list'.
authorJordan Rose <jordan_rose@apple.com>
Thu, 10 Nov 2016 23:28:34 +0000 (23:28 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 10 Nov 2016 23:28:34 +0000 (23:28 +0000)
commit16d52a2a723e0a365c79152c7438a60134346d1d
treeaef612dd1ba33e3ad24e7643288b2ed4a94ba5f8
parent3b917fe019fff717f9b92defb8ec14601090381f
Don't require nullability on 'va_list'.

There are many non-portable typedefs, but va_list is one that nobody
ever thinks of as a pointer or an array. (When's the last time you saw
someone check for a NULL va_list?) Make an exception for this one
special type.

Part of rdar://problem/25846421.

llvm-svn: 286522
clang/lib/Sema/SemaType.cpp
clang/test/SemaObjCXX/Inputs/nullability-consistency-arrays.h