History log of /external/clang/lib/Headers/stddef.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 29-May-2014 Stephen Hines <srhines@google.com> Update Clang for 3.5 rebase (r209713).

Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/lib/Headers/stddef.h
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/lib/Headers/stddef.h
c814c64c6f7e7a26f4af0d040ad04b69917a36c8 02-May-2013 Hans Wennborg <hans@hanshq.net> Make sure we define wchar_t related macros correctly in -fms-extensions mode.

This adds a test to make sure we define _WCHAR_T_DEFINED and
_NATIVE_WCHAR_T_DEFINED correctly in the preprocessor, and updates
stddef.h to set it when typedeffing wchar_t.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
de5ed04b08dcc23ac2caad282c372d541f60c6ee 02-May-2013 Hans Wennborg <hans@hanshq.net> Fix typo in a stddef.h comment: s/risze_t/rsize_t/

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
2943d3dded877fbe0bb965756f047d379032d4ba 13-Apr-2013 Daniel Dunbar <daniel@zuster.org> Headers: Add support for ISO9899:2011 rsize_t.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179427 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
04f5db699e5c1198f30cba17fd12f38805ab04df 27-Mar-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> Revert "[lib/Headers] Define NULL as __DARWIN_NULL when on __APPLE__."

Per feedback by Doug, we should avoid platform-specific implementations
in lib/Headers as much as possible.

This reverts commit r178110.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
07ffbd74e2188a3a353e9957b9fa0e2f7424e1b4 27-Mar-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [lib/Headers] Define NULL as __DARWIN_NULL when on __APPLE__.

This makes it identical with the system definition.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178110 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
daf2e1c636799535a7eb058ffab93cdf52f466cb 22-Mar-2013 Douglas Gregor <dgregor@apple.com> <rdar://problem/13479214> Make Clang's <stddef.h> robust against system headers defining size_t/ptrdiff_t/wchar_t.

Clang's <stddef.h> provides definitions for the C standard library
types size_t, ptrdiff_t, and wchar_t. However, the system's C standard
library headers tend to provide the same typedefs, and the two
generally avoid each other using the macros
_SIZE_T/_PTRDIFF_T/_WCHAR_T. With modules, however, we need to see
*all* of the places where these types are defined, so provide the
typedefs (ignoring the macros) when modules are enabled.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
1fc271c38aaa68dce73d6f1bee9f6fd3474e51f0 06-Feb-2013 Daniel Dunbar <daniel@zuster.org> [Headers] Use standard builtin defines instead of typeof trickery.

- The trickery can confuse more basic source processors, in particular the
Unix conformance tool that wants to scan headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174475 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
e25d3df6df39ecca4dad4647be2713cb85653634 29-Jun-2012 Douglas Gregor <dgregor@apple.com> std::nullptr_t support in MS headers, from João Matos.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
08e46f97ec8c00cc1bfe87fcd014db211a878ffb 24-Apr-2012 Nico Weber <nicolasweber@gmx.de> Let NULL and MSVC headers coexist better.

Fixes the two issues mentioned in PR12146.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
fc8f0e14ad142ed811e90fbd9a30e419e301c717 15-Apr-2011 Chris Lattner <sabre@nondot.org> fix a bunch of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129559 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
8da6bca896546cd98ad6aefaa3e9eba77736ea7b 30-Mar-2011 Ted Kremenek <kremenek@apple.com> Add '#ifndef _PTRDIFF_T' guard around definition of ptrdiff_t. Fixes <rdar://problem/9210154>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
51f56fc36e6d441b6dd722cc09c4ac9f081c0974 19-Oct-2010 NAKAMURA Takumi <geek4civic@gmail.com> lib/Headers/stddef.h: wint_t should be defined whenever <stddef.h> is included with __need_wint_t.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
6d6370ee10ddcd8cacc44c2d6796800c1325c732 06-Sep-2010 Chris Lattner <sabre@nondot.org> fix PR7192 by defining wchar_t in a more conventional way. The
type of L"x" can change based on command line arguments.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
863e7189dc437ef0f35ff94d74f62c775759d2ce 04-Aug-2010 Chris Lattner <sabre@nondot.org> add a hack for visual studio, fixing PR7796


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
88318139c94cef1a77cce969613bbc0745d7e99f 15-Jun-2010 Sean Hunt <rideau3@gmail.com> MinGW requires that wint_t be defined in stddef.h. In order to accomodate, we
won't define it unless specifically requested via the use of __need_wint_t.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
21259bafdc0e113c8bdce51d7911cc9880da1892 09-Mar-2010 Ted Kremenek <kremenek@apple.com> Add preprocessor guards to the definitions of size_t and wchar_t, and #undef NULL before defining it.
This addresses potential issues with system headers reported in <rdar://problem/7727159>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
28d6cba4c472fca54c77cba34c15802a634984af 01-Dec-2008 Douglas Gregor <dgregor@apple.com> Define NULL to __null in C++, so that it's guaranteed to have the same size as a pointer

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
f8e61b371d085516b8b9b906099db3e0b915a7c0 04-Nov-2008 Anders Carlsson <andersca@mac.com> #define NULL as 0 when compiling as C++. This fixes the carbon.cpp and cocoa.mm test failures.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h
8ba179d4a39c79ae486472a5f413f763ffcc0739 20-May-2008 Eli Friedman <eli.friedman@gmail.com> Add a couple more headers. stddef was discussed on cfe-dev, and
consensus was that it was fine; iso646 is trivial.

We actually don't need that many headers overall... on Ubuntu, at least,
all we need are stdint.h, stdarg.h, limits.h, and float.h to stop
depending on having gcc's headers around for normal code.

On a side note, the path searching needs some improvement; I had to
hardcode the path to my header directory into clang.cpp to get the
driver to use it consistently.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Headers/stddef.h