Speculative fix for va_list/nullability test on Hexagon and PPC.
authorJordan Rose <jordan_rose@apple.com>
Fri, 11 Nov 2016 00:55:14 +0000 (00:55 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 11 Nov 2016 00:55:14 +0000 (00:55 +0000)
commitb07c0d7085fc35c2891a21dd4170c26eb6f6d1bd
tree920528af4481209b43d9b70de3e682bc0a6f80e4
parentad94840df31843d043ec9ad4f20bd076d23f9f17
Speculative fix for va_list/nullability test on Hexagon and PPC.

PowerPC's va_list, at least, is a typedef for an array, which means it
decays to a pointer in parameter position. Since the decayed type is
built from the array element type, the typedef sugar is lost.

More rdar://problem/25846421.

llvm-svn: 286533
clang/lib/Sema/SemaType.cpp