Fix compatibility for __builtin_stdarg_start
authorJoerg Sonnenberger <joerg@bec.de>
Tue, 17 Mar 2020 23:39:54 +0000 (00:39 +0100)
committerJoerg Sonnenberger <joerg@bec.de>
Sat, 28 Mar 2020 22:24:13 +0000 (23:24 +0100)
commit09d402185394fdbf1f60233a7f42a4a1108c2cd3
treeb5e5413169b75cc1056f2ea3bd38564405738ed2
parent9564f46766f9c5b75361d90e21f52a52ff7da961
Fix compatibility for __builtin_stdarg_start

The __builtin_stdarg_start is the legacy spelling of __builtin_va_start.
It should behave exactly the same, but for the last 9 years it would
behave subtly different for diagnostics. Follow the change from
29ad95b23217 to require custom type checking.
clang/include/clang/Basic/Builtins.def
clang/test/SemaCXX/vararg-non-pod.cpp