llvm-project/clang/lib/Headers
Chandler Carruth 45c2fb1e69 Undo part of my previous commit to mm_malloc.h, going back to the use of
stdlib.h. There were numerous problems with forward declaring 'malloc' and
'free', but the most important is that these are reserved by POSIX and may be
implemented via a function-like macro.

As suggested by Dale Johannesen, I'm instead guarding the only include of this
in our builtin headers with __STDC_HOSTED__, and I've removed the include of
the header from the test suite. I'll discuss with folks whether we want to have
a hosted section of the test suite or not, and add it (and perhaps other tests)
back there if that's the direction.

llvm-svn: 119958
2010-11-22 08:06:31 +00:00
..
CMakeLists.txt Fix CMake installation of arm_neon.h 2010-10-19 18:06:10 +00:00
Makefile build: Make sure arm_neon.h gets installed. 2010-07-22 01:19:36 +00:00
altivec.h turned pointers into pointers to const in function parameters in all functions/builtins accepting pointers to a const-qualified type according to PIM and "Language Extensions for CBEA" 2010-11-16 20:09:36 +00:00
avxintrin.h Disallow direct inclusion of avxintrin.h. Users should include immintrin.h instead. This matches GCC's behavior. 2010-08-20 23:00:03 +00:00
emmintrin.h __builtin_ia32_psrldqi128 too 2010-10-01 06:58:49 +00:00
float.h Eli noticed that I had forgotten some #defines. Add them. 2008-12-26 22:49:10 +00:00
immintrin.h Add immintrin meta header. 2010-08-20 18:04:07 +00:00
iso646.h Protect iso646.h from C++ (although I can't imagine why someone would 2008-05-21 03:11:31 +00:00
limits.h Futher reduce the includes of our builtin headers, and teach limits.h to avoid 2010-11-16 10:07:43 +00:00
mm_malloc.h Undo part of my previous commit to mm_malloc.h, going back to the use of 2010-11-22 08:06:31 +00:00
mmintrin.h Clang part of MMX rewrite (goes with 115243). 2010-09-30 23:57:50 +00:00
nmmintrin.h Fix header comments. 2010-08-20 16:47:17 +00:00
pmmintrin.h fix PR6658: inline isn't a keyword in C89 mode, use __inline__ instead. 2010-03-22 18:14:12 +00:00
smmintrin.h Move some type defines from smmintrin.h to emmintrin.h to match where 2010-08-26 02:09:25 +00:00
stdarg.h Place the definition of 'va_list' within a preprocessor guard. This matches the behavior of GCC, and avoids potential conflicts with system headers (e.g., stdio.h). Fixes <rdar://problem/7727145>. 2010-03-08 23:13:05 +00:00
stdbool.h Define _Bool, bool, true, and false macros in <stdbool.h> when we're 2010-09-29 04:57:11 +00:00
stddef.h lib/Headers/stddef.h: wint_t should be defined whenever <stddef.h> is included with __need_wint_t. 2010-10-19 03:42:41 +00:00
stdint.h Headers: Change [u]intmax_t to be defined in terms of __[U]INTMAX_TYPE__, instead of intN_t. 2010-06-30 06:30:50 +00:00
tgmath.h testing (reverted) 2009-02-19 00:27:58 +00:00
tmmintrin.h Rewrite handling of 64-bit palignr intrinsics to be vector shuffles. 2010-04-15 01:43:08 +00:00
varargs.h Add a newline at the end of the file. 2010-03-20 01:19:04 +00:00
wmmintrin.h Fix typo. 2010-04-01 03:07:20 +00:00
x86intrin.h Add x86intrin.h which is generic x86 intrinsics for more than just Intel. Thus 2010-08-22 20:38:05 +00:00
xmmintrin.h Undo part of my previous commit to mm_malloc.h, going back to the use of 2010-11-22 08:06:31 +00:00