summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/stdarg.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert Include corecrt.h in stddef.h and vcruntime.h in stdarg.h to improve ↵Reid Kleckner2019-05-081-5/+0
| | | | | | | | | | | | MS compatibility. This reverts r360271 (git commit a0933bd8ec1515167ea653f7ee788b8bbde27d51) There are concerns on the review that this breaks EFI builds and that the transitive includes (sal.h) are actually heavy enough that we might care. llvm-svn: 360291
* Include corecrt.h in stddef.h and vcruntime.h in stdarg.h to improve MSMike Rice2019-05-081-0/+5
| | | | | | | | | | | compatibility. This allows some applications developed with MSVC to compile with clang without any extra changes. Fixes: llvm.org/PR40789 Differential Revision: https://reviews.llvm.org/D61646 llvm-svn: 360271
* Move the builtin headers to use the new license file header.Chandler Carruth2019-04-081-19/+3
| | | | | | | | | | | | | | | | | | Summary: These all had somewhat custom file headers with different text from the ones I searched for previously, and so I missed them. Thanks to Hal and Kristina and others who prompted me to fix this, and sorry it took so long. Reviewers: hfinkel Subscribers: mcrosier, javed.absar, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D60406 llvm-svn: 357941
* Guard __gnuc_va_list typedef.Paul Robinson2017-01-231-2/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D28620 llvm-svn: 292819
* Added standard macro guard. In case __GNUC_VA_LIST was notYaron Keren2014-07-021-0/+2
| | | | | | | | | | | | | | | defined or defined identically before there will not be any change in functionality. MinGW-w64 defines __GNUC_VA_LIST as #define __GNUC_VA_LIST which is different than the definition here, causing a warning without the guard. llvm-svn: 212183
* Fix two pedantic issues with our builtin headers. The __STDC_VERSION__Chandler Carruth2014-02-191-1/+1
| | | | | | | | | for C99 is '199901L' and we shouldn't be comparing it with anything else. Neither of these should have had any impact in practice. llvm-svn: 201738
* Define va_copy when in C++0x mode; C++0x picked it up from C99.Douglas Gregor2011-06-201-1/+1
| | | | llvm-svn: 133438
* Place the definition of 'va_list' within a preprocessor guard. This matches ↵Ted Kremenek2010-03-081-0/+3
| | | | | | the behavior of GCC, and avoids potential conflicts with system headers (e.g., stdio.h). Fixes <rdar://problem/7727145>. llvm-svn: 98003
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-1/+1
| | | | llvm-svn: 81346
* define __va_copy unconditionally, but va_copy only in c99 or non-ansi mode.Chris Lattner2009-04-071-0/+8
| | | | | | | Fixes rdar://6759546, some code that actually used __va_copy because they thought it was "more portable". llvm-svn: 68503
* Implementation of stdarg.h.Eli Friedman2008-05-291-0/+39
llvm-svn: 51672
OpenPOWER on IntegriCloud