]> granicus.if.org Git - clang/commit
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)
commit534a7a7eedade86800c4cb6f8d0c347f500ec82c
treefc82930e5a8d3d87a64f18d315e3f5fd58a69ed6
parentcb6245f77630d83c65e332fa374c3f9b5324601b
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286533 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp