]> granicus.if.org Git - clang/commit
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)
commit9969f6c3052c0683f17a78ab6f223b1db84b6fe8
treee1c6deb1e1453bda148df15e0213e28b6faa39bc
parent768c84e6b75f36035b2f83616a0dc0e096941299
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286522 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/SemaObjCXX/Inputs/nullability-consistency-arrays.h