commit | eae5a820bced67465c8517793a1602dfaeed8a06 | [log] [tgz] |
---|---|---|
author | Logan Chien <tzuhsiang.chien@gmail.com> | Wed Oct 10 06:56:20 2012 +0000 |
committer | Logan Chien <tzuhsiang.chien@gmail.com> | Wed Oct 10 06:56:20 2012 +0000 |
tree | 13df6f4c907b8404ef13c5ed2870d7877d8ed7a6 | |
parent | d34eca2a5b54d36c196b4f663f397fc6ea583b9b [diff] |
Fix PR 11709: Change the definition of va_list to meet AAPCS requirement AAPCS ABI Section 7.1.4 [1] specifies that va_list should be defined as struct __va_list { void *__ap;}; And in C++, it is defined in namespace std. [1] http://infocenter.arm.com/help/topic /com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf Patch by Weiming Zhao. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165609 91177308-0d34-0410-b5e6-96231b3b80d8