]> granicus.if.org Git - clang/commit
Fix rdar://6252231 - cannot call vsnprintf with va_list on x86_64,
authorChris Lattner <sabre@nondot.org>
Sun, 28 Sep 2008 06:05:35 +0000 (06:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Sep 2008 06:05:35 +0000 (06:05 +0000)
commit891ed9aa87e14ce4c13155a77c09cde4555f7dd1
tree2b639a87a9c3700380128bf66d627b9976b19d5d
parentbd7eb1c3b2af5cd0a7540c79da85e2ce15a893f4
Fix rdar://6252231 - cannot call vsnprintf with va_list on x86_64,
by decaying __builtin_va_list's type when forming builtins.  On
x86-64 (and other targets) __builtin_va_list is a typedef for
an array.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56768 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Builtins.cpp
test/Sema/builtin-object-size.c