summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/stdarg.h
Commit message (Collapse)AuthorAgeFilesLines
* 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