• Home
  • History
  • Annotate
  • only in /external/clang/test/Headers/
History log of /external/clang/test/Headers/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ef8225444452a1486bd721f3285301fe84643b00 21-Jul-2014 Stephen Hines <srhines@google.com> Update Clang for rebase to r212749.

This also fixes a small issue with arm_neon.h not being generated always.

Includes a cherry-pick of:
r213450 - fixes mac-specific header issue
r213126 - removes a default -Bsymbolic on Android

Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
rm-acle-header.c
s-intrin.cpp
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 29-May-2014 Stephen Hines <srhines@google.com> Update Clang for 3.5 rebase (r209713).

Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
arbon.c
xx11.cpp
tddefneeds.cpp
arn-sysheader.cpp
mmintrin.c
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
nputs/include/setjmp.h
ltivec-header.c
11.c
arbon.c
xx11.cpp
s-intrin.cpp
arn-sysheader.cpp
138ef868028ecbba4f74af8b185a8dff4d1346ca 27-Oct-2013 JF Bastien <jfb@google.com> Define [U]LLONG_{MIN,MAX} for C++11, add tests.

Add tests for limits.h, not just [U]LLONG_{MIN,MAX}.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193506 91177308-0d34-0410-b5e6-96231b3b80d8
imits.cpp
0b327d323db4bbd93a4b91ed98ee9ab243290f4e 17-Oct-2013 Reid Kleckner <reid@kleckner.net> Add implementations of the MSVC barrier intrinsics

Summary:
These are deprecated in VS 2012 according to MSDN. They don't actually
compile down to any code. They prevent the compiler from reordering
memory accesses across the barrier, which is what a memory-clobbering
volatile asm does.

Reviewers: echristo

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1954

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192860 91177308-0d34-0410-b5e6-96231b3b80d8
s-intrin.cpp
dea47a5d7d0d978072224b8225fb738096437129 20-Sep-2013 Chandler Carruth <chandlerc@gmail.com> Switch tests in test/Headers to use %clang_cc1 rather than %clang. There
is no need to go through the driver indirection here, and it clutters
things up as dependencies can sneak in for specific things the driver is
doing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191107 91177308-0d34-0410-b5e6-96231b3b80d8
11.c
89.c
xx11.cpp
s-intrin.cpp
s-null-ms-header-vs-stddef.cpp
s-wchar.c
gmath.c
86-intrinsics-headers.c
d2cf0842a4690fe716762525496c864ae25c4bf2 19-Sep-2013 Reid Kleckner <reid@kleckner.net> Use -ffreestanding in ms-intrin.cpp and define size_t manually.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190985 91177308-0d34-0410-b5e6-96231b3b80d8
s-intrin.cpp
dce250be480d32c9ce8a705936ac6e3c94ded2cb 19-Sep-2013 Reid Kleckner <reid@kleckner.net> Avoid including <stdlib.h> in the intrin.h test

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190979 91177308-0d34-0410-b5e6-96231b3b80d8
s-intrin.cpp
54fe9cd77b5785ab23b21e5d02fc0406df7e4918 19-Sep-2013 Reid Kleckner <reid@kleckner.net> Fix ifdef ordering at the end of Intrin.h from r190965

Test that intrin.h at least parses in C++ TUs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190978 91177308-0d34-0410-b5e6-96231b3b80d8
s-intrin.cpp
7dc8e8175a3a1d4e40819932165e26b01091541e 29-Aug-2013 Peter Collingbourne <peter@pcc.me.uk> Add missing definitions to unwind.h.

Original patch by Charles Davis.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189535 91177308-0d34-0410-b5e6-96231b3b80d8
nputs/include/stdint.h
4ed47ccf892de9b725f64d6cfc309f0461105ba5 02-Aug-2013 Hans Wennborg <hans@hanshq.net> CC1: Only parse command-line options that have the CC1Option flag.

We already reject flags that don't have the CC1Option flag,
but we would previously do so after parsing the command-line
arguments.

Since the option parser now has a parameter for excluding options,
we should just use that instead.

Differential Revision: http://llvm-reviews.chandlerc.com/D1270

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187668 91177308-0d34-0410-b5e6-96231b3b80d8
ltivec-header.c
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5 03-Jul-2013 Richard Smith <richard-llvm@metafoo.co.uk> Enable -ffreestanding for this test, to avoid #include_next'ing the system's
<stdint.h> (which might not exist or might not work).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185565 91177308-0d34-0410-b5e6-96231b3b80d8
xx11.cpp
192b030c8a887aa34db56d709136e533a454b2f3 10-May-2013 Richard Smith <richard-llvm@metafoo.co.uk> Remove dependence on system headers from this test, to try to make the Windows bots happier.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181558 91177308-0d34-0410-b5e6-96231b3b80d8
nputs/include/complex.h
nputs/include/math.h
gmath.c
de8e4435d61cd4b5e23e80f53fc33bc00dcef1d4 09-May-2013 Richard Smith <richard-llvm@metafoo.co.uk> Add testcase missed from r181527.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181531 91177308-0d34-0410-b5e6-96231b3b80d8
gmath.c
ee3cd95d31406c8c5d80a2c29fdd803bd5993697 09-May-2013 Benjamin Kramer <benny.kra@googlemail.com> xopintrin.h: Add wrappers for all flavors of _mm_com.

GCC defines only the wrappers, MSVC defines both, we define both now too.
PR15844.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181514 91177308-0d34-0410-b5e6-96231b3b80d8
86intrin.c
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
s-wchar.c
94effad4c71e4b25b7d56e6392526a55e3a989e7 17-Apr-2013 Daniel Dunbar <daniel@zuster.org> [tests] Only include stdint.h if we are in freestanding mode.

- We shouldn't even try to include stdint.h in hosted mode, as the dependency
on even parsing a platforms stdint.h might fail for some targets.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179723 91177308-0d34-0410-b5e6-96231b3b80d8
11.c
dd9bd3ba42ecc3c91ba36f194b993a99371ab825 13-Apr-2013 Daniel Dunbar <daniel@zuster.org> Headers: Don't try to use RSIZE_MAX unless we are freestanding.
- We don't want to depend on the platforms stdint.h.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179429 91177308-0d34-0410-b5e6-96231b3b80d8
11.c
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
11.c
32b5013a7a443ff12cbaa5f3e2f86978179d5e04 13-Apr-2013 Richard Smith <richard-llvm@metafoo.co.uk> tl;dr: Teach Clang to work around g++ changing its workaround to glibc's
implementation of C99's attempt to control the C++ standard. *sigh*


The C99 standard says that certain macros in <stdint.h>, such as SIZE_MAX,
should not be defined when the header is included in C++ mode, unless
__STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS are defined. The C++11 standard
says "Thanks, but no thanks" and C11 removed this rule, but various C library
implementations (such as glibc) follow C99 anyway.

g++ prior to 4.8 worked around the C99 / glibc behavior by defining
__STDC_*_MACROS in <cstdint>, which was incorrect, because <stdint.h> is
supposed to provide these macros too. g++ 4.8 works around it by defining
__STDC_*_MACROS in its builtin <stdint.h> header.

This change makes Clang act like g++ 4.8 in this regard: our <stdint.h> now
countermands any attempt by the C library to implement the undesired C99 rules,
by defining the __STDC_*_MACROS first. Unlike g++, we do this even in C++98
mode, since that was the intent of the C++ committee, matches the behavior
required in C11, and matches our built-in implementation of <stdint.h>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179419 91177308-0d34-0410-b5e6-96231b3b80d8
xx11.cpp
98735a91d53296a76fbcfc00328f6b9aa8bc6cef 04-Apr-2013 Richard Smith <richard-llvm@metafoo.co.uk> Don't build this test with modules for now, it's causing buildbot failures.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178740 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
4a3c6c6daebce44416a63bb19ad1ab7fe0d16354 04-Apr-2013 Richard Smith <richard-llvm@metafoo.co.uk> Add tests that build modules for our builtin headers, and fix two buglets exposed by doing so.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178736 91177308-0d34-0410-b5e6-96231b3b80d8
11.c
89.c
xx11.cpp
9f6e9106176008e91af6a974b3cf31c064d6d884 21-Feb-2013 Richard Smith <richard-llvm@metafoo.co.uk> libstdc++'s <cstdalign> #includes <stdalign.h> and expects it to guard against
being included in C++. Don't define alignof or alignas in this case. Note that
the C++11 standard is broken in various ways here (it refers to the contents
of <stdalign.h> in C99, where that header did not exist, and doesn't mention
the alignas macro at all), but we do our best to do what it intended.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175708 91177308-0d34-0410-b5e6-96231b3b80d8
xx11.cpp
40f56e5b677761c8258324222d62fce3e4f6bca4 31-Jan-2013 Douglas Gregor <dgregor@apple.com> Reinstate r173952, this time limiting it to exactly the form

#define X X

for which there is no point warning, ever.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173991 91177308-0d34-0410-b5e6-96231b3b80d8
tdbool.cpp
1a1c82e1530e834cceab58fa51ff5e356e260641 30-Jan-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> Revert "[preprocessor] Don't warn about "disabled expansion of recursive macro""

This reverts commit r173952

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173970 91177308-0d34-0410-b5e6-96231b3b80d8
tdbool.cpp
8d3f6133da9abb58cf05d55f7b8d86dd00257832 30-Jan-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [preprocessor] Don't warn about "disabled expansion of recursive macro"
for "#define X X".

This is a pattern that, for example, stdbool.h uses.
rdar://12435773

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173952 91177308-0d34-0410-b5e6-96231b3b80d8
tdbool.cpp
48cb74adac0acb5681ba12e9202adc1d9cb2d523 30-Jan-2013 Richard Smith <richard-llvm@metafoo.co.uk> C11: Provide the missing half of <stdalign.h>


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173900 91177308-0d34-0410-b5e6-96231b3b80d8
11.c
de03c15ad92b44a4be11507ca2501bb9dd014dce 17-Jan-2013 Richard Smith <richard-llvm@metafoo.co.uk> Parsing support for C11's _Noreturn keyword. No semantics yet.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172761 91177308-0d34-0410-b5e6-96231b3b80d8
11.c
724e65b18cfe6691668606cde59d44cf353282b8 31-Oct-2012 Michael Gottesman <mgottesman@apple.com> [clang tests] Added require ppc64-registered-target to Headers/altivec-header.c to ensure it only runs on ppc64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167162 91177308-0d34-0410-b5e6-96231b3b80d8
ltivec-header.c
60c158a5e5827ed030b7cf8885f099cded563a6f 31-Oct-2012 Ulrich Weigand <ulrich.weigand@de.ibm.com> Add "static" to some functions in altivec.c where it was missing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167148 91177308-0d34-0410-b5e6-96231b3b80d8
ltivec-header.c
8e8fb3be5bd78f0564444eca02b404566a5f3b5d 19-Oct-2012 Andy Gibbs <andyg1001@hotmail.co.uk> Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166280 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
nt64-type.c
ypedef_guards.c
char_limits.cpp
mmintrin.c
69e80c58bcfdeeadc90f205b9c1b234f8eed14ed 27-Sep-2012 Jordan Rose <jordan_rose@apple.com> Use %clang_cc1 so that the test works even if the target isn't available.

Xcode-style clang builds only support Xcode's architectures, so mips
isn't available and the driver tries to use gcc instead. cc1 will go
ahead and do -fsyntax-only for any platform it knows about even if it
can't actually compile.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164742 91177308-0d34-0410-b5e6-96231b3b80d8
nwind.c
1aca4565aba1b5dc5dfbbfe4446f630b846fe01f 26-Sep-2012 Jordan Rose <jordan_rose@apple.com> Make our mini-stdint.h platform-independent by using predefined macros.

This also adds a definition for uint64_t, which was causing build failures
on some platforms. (I'm actually surprised this didn't happen on more
builders, but maybe the search paths are different.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164706 91177308-0d34-0410-b5e6-96231b3b80d8
nputs/include/stdint.h
86b671b603142f7368be19fcf49971f0aaa2de39 26-Sep-2012 Logan Chien <tzuhsiang.chien@gmail.com> Fix build failure and enhance the testcase for unwind.h.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164683 91177308-0d34-0410-b5e6-96231b3b80d8
nputs/include/stdint.h
nwind.c
025560c728931c18aa73a37dea872b155c937f43 26-Sep-2012 Benjamin Kramer <benny.kra@googlemail.com> Run test in a freestanding environment so it doesn't accidentally pick up system headers for the wrong target.

While there add a test that verifies that the header parses in C++ mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164679 91177308-0d34-0410-b5e6-96231b3b80d8
nwind.c
c5e3df7d9951502fe016445f1c93dc9a3efea4df 26-Sep-2012 Logan Chien <tzuhsiang.chien@gmail.com> Add struct keyword before _Unwind_Context.

In the C programming language, we have to add the
"struct" keyword. Otherwise, the compiler will
emit error message.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164665 91177308-0d34-0410-b5e6-96231b3b80d8
nwind.c
1785c36ee6c1b6a36c344819b3f2f3d859359dd6 07-May-2012 Chandler Carruth <chandlerc@gmail.com> Remove the 'intrin.h' builtin header file and its tests for now.

After discussion with several people, including Doug Gregor, we've
decided to change our approach here. If you have questions about this
header file, the commit removing it, etc., please reach out to me
off-list.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156322 91177308-0d34-0410-b5e6-96231b3b80d8
s-intrin.c
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
s-null-ms-header-vs-stddef.cpp
577535156425fa67ed2f1dad321e807f0f67649b 24-Apr-2012 Chandler Carruth <chandlerc@gmail.com> Introduce an initial sketch of a MSVC compatible 'intrin.h' builtin
header, along with a stub test to make sure it compiles in the
appropriate modes.

Thanks to Aaron Ballman for working with me to figure out the initial
strategy here, and to Nico for reviewing and pestering me to actually
commit it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155425 91177308-0d34-0410-b5e6-96231b3b80d8
s-intrin.c
030c7e9d105fdd9b5cb11b5b16c258bcb39bdac1 16-Apr-2012 David Blaikie <dblaikie@gmail.com> Fix tests that weren't actually verifying anything.

Passing -verify to clang without -cc1 or -Xclang silently passes (with a
printed warning, but lit doesn't care about that). This change adds -cc1 or,
as is necessary in one case, -Xclang to fix this so that these tests are
actually verifying as intended.

I'd like to change the driver so this kind of mistake could not be made, but
I'm not entirely sure how. Further, since the driver only warns about unknown
flags in general, we could have similar bugs with a misspellings of arguments
that would be nice to find.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154776 91177308-0d34-0410-b5e6-96231b3b80d8
ypedef_guards.c
9ec60dfe771ff28a84889dced6f8fd3748d3d55e 20-Jan-2012 Sebastian Pop <spop@codeaurora.org> rename -ccc-host-triple into -target

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148582 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
31cbe684302a5ccb001fa2131c0e4aeaa372f5c0 13-Jan-2012 Eli Friedman <eli.friedman@gmail.com> Revert r148138; it's causing test failures.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148141 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
edd4f3c39101912605c2a1868dd2be71aa218798 13-Jan-2012 Sebastian Pop <spop@codeaurora.org> rename -ccc-host-triple into -target

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148138 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
dd023bc4d4cc4013ae7fee49fa850b3181293797 06-Dec-2011 Daniel Dunbar <daniel@zuster.org> Headers: wmmintrin.h only needs xmmintrin.h.
- Fixes <rdar://problem/10261246> clang -maes option is not sufficient to
include <wmmintrin.h>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145939 91177308-0d34-0410-b5e6-96231b3b80d8
mmintrin.c
47fcd293a526e898437b8fe1696310ccf92dd8e5 20-Sep-2011 Eric Christopher <echristo@apple.com> Remove __WCHAR_UNSIGNED__ and anything that used it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140155 91177308-0d34-0410-b5e6-96231b3b80d8
char_limits.cpp
e02e5e2b055dbb3c18229b5cf6b831270c51dd4c 09-Sep-2011 Eric Christopher <echristo@apple.com> Remove WCHAR_MIN and WCHAR_MAX from limits.h. According to posix and c99
these should be in stdint.h - and they already are.

Fixes rdar://10097036.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139332 91177308-0d34-0410-b5e6-96231b3b80d8
char_limits.cpp
cb67f617dcb554864fae25f35e1f361ee9029989 22-Jul-2011 Francois Pichet <pichet2000@gmail.com> Use -ffreestanding with clang_cc1 to make the test picks the clang builtin include.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135766 91177308-0d34-0410-b5e6-96231b3b80d8
char_limits.cpp
159a7b3c531d09d98176699f212928da9bed8602 22-Jul-2011 Francois Pichet <pichet2000@gmail.com> Fix test on MSVC: since the test includes a system header it cannot use clang_cc1.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135763 91177308-0d34-0410-b5e6-96231b3b80d8
char_limits.cpp
f818a8b598dabf924bec4c491d02cbfcfe2d0c2e 22-Jul-2011 Sean Hunt <scshunt@csclub.uwaterloo.ca> Add a missing test for the limits on wchar

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135708 91177308-0d34-0410-b5e6-96231b3b80d8
char_limits.cpp
550e5ada63dc7c77263abe9a7e14053767a926a4 02-Dec-2010 Bob Wilson <bob.wilson@apple.com> Attempt to fix linux buildbots by adding -ffreestanding for arm_neon tests.
The arm_neon.h header includes stdint.h and it picks up the system header
without -ffreestanding.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120716 91177308-0d34-0410-b5e6-96231b3b80d8
rm-neon-header.c
0608f53744ccf88c4d21d6b500f6d23927533ac9 02-Dec-2010 Bob Wilson <bob.wilson@apple.com> Add a test for calling a Neon intrinsic macro with the wrong vector type.
This does not work so well with the -fno-lax-vector-conversions option for
testing the arm_neon.h header but that is a really useful test, so I split
this out to a separate Sema test to check for the warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120694 91177308-0d34-0410-b5e6-96231b3b80d8
rm-neon-header.c
9d0b2b728b9a431546b11252793844bf7506ec84 02-Dec-2010 Bob Wilson <bob.wilson@apple.com> Test use of arm_neon.h with -fno-lax-vector-conversions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120642 91177308-0d34-0410-b5e6-96231b3b80d8
rm-neon-header.c
96607b29c4b90996e97f0216651f544b3ded4175 02-Dec-2010 Bob Wilson <bob.wilson@apple.com> Add a testcase for Radar 8228022.
Make sure the -Wvector-conversions does not cause unnecessary warnings when
using Neon intrinsics with the correct types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120634 91177308-0d34-0410-b5e6-96231b3b80d8
rm-neon-header.c
7acb953031bed92c7420aaf1200d6732239e562e 22-Nov-2010 Chandler Carruth <chandlerc@gmail.com> 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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119958 91177308-0d34-0410-b5e6-96231b3b80d8
86-intrinsics-headers.c
80d56a9956af762373ea75326feb7720b81577b8 20-Oct-2010 Bill Wendling <isanbard@gmail.com> Linux still needs these hacks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116888 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
da7700e8180a3959a9f07debe3dbc358a5ea0639 19-Oct-2010 Bill Wendling <isanbard@gmail.com> Now that mm_malloc.h was rewritten to *not* include errno.h (see
http://llvm.org/viewvc/llvm-project?rev=116771&view=rev) we can get rid of these
hacks.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116853 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
593770b4bac904cdb9bf46ab3d166b0800c7a9f4 29-Sep-2010 Douglas Gregor <dgregor@apple.com> Define _Bool, bool, true, and false macros in <stdbool.h> when we're
in a GNU-compatible C++ dialect. Fixes <rdar://problem/8477819>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115028 91177308-0d34-0410-b5e6-96231b3b80d8
tdbool.cpp
01b57e362a2c8abb18ba6139ca212e6c7f2288b0 21-Aug-2010 Benjamin Kramer <benny.kra@googlemail.com> Disallow direct inclusion of avxintrin.h. Users should include immintrin.h instead. This matches GCC's behavior.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111692 91177308-0d34-0410-b5e6-96231b3b80d8
86-intrinsics-headers.c
55db5b874416cde3f2601a717e25d0974bf02f80 05-Aug-2010 Bruno Cardoso Lopes <bruno.cardoso@gmail.com> Add AVX intrinsics header

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110253 91177308-0d34-0410-b5e6-96231b3b80d8
86-intrinsics-headers.c
7f3a545ba6ccfbe8b7f5268e4cfbee52ec2c4d4c 30-Jun-2010 Daniel Dunbar <daniel@zuster.org> Headers: Define __INT64_TYPE__ in terms of getInt64Type(), which isn't always
'long'. The practical upshot is so that the uint64_t we define in our stdint.h
ends up being compatible with that defined by gcc (at least on Darwin), which
otherwise could lead to type incompatibilities with other system headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107255 91177308-0d34-0410-b5e6-96231b3b80d8
nt64-type.c
9fde9c424f734e1ef45177999e3a04faad127414 29-Jun-2010 Daniel Dunbar <daniel@zuster.org> tests: Use %clangxx when using driver for C++, in case C++ support is disabled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107153 91177308-0d34-0410-b5e6-96231b3b80d8
86-intrinsics-headers.c
60c38932240b9c4a7da82c46a79eda2d4ffe78fd 26-Mar-2010 Daniel Dunbar <daniel@zuster.org> Make sure we don't include mm_malloc.h in this test, it includes errno.h which
we aren't always able to find on Win32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99649 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
1fc9e7280867976d2d78b80b6da389b0337430bb 26-Mar-2010 Daniel Dunbar <daniel@zuster.org> Spell -triple correctly for %clang, not %clang_cc1.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99634 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
9fabcbd68729d871eb1ec4be8e3bf9933f54e9a7 26-Mar-2010 Chris Lattner <sabre@nondot.org> i386-apple-darwin10 implies sse2, this option shouldn't be needed.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99627 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
5832a5390a8da156b84211fc1bdee5fcfb103d9c 26-Mar-2010 Chris Lattner <sabre@nondot.org> xmmintrin just requires sse2, not sse3.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99623 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
1a6154cf2e609b4ede74cb8d9a38ce28cbe833e9 22-Mar-2010 Chris Lattner <sabre@nondot.org> move a test to a more appropriate directory


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99200 91177308-0d34-0410-b5e6-96231b3b80d8
86-intrinsics-headers.c
f7c700879cb8c12d3a6d087ca46ae72741afb5c5 22-Mar-2010 Chris Lattner <sabre@nondot.org> hopefully fix this on non-sse2 hosts. Shouldn't an apple-darwin10
triple imply sse2?


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99197 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
1bddbcbd11de09c7bcb48c3d661c447967db73a7 22-Mar-2010 Chris Lattner <sabre@nondot.org> fix PR6658: inline isn't a keyword in C89 mode, use __inline__ instead.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99190 91177308-0d34-0410-b5e6-96231b3b80d8
89.c
f7507f29d70c4ffba343fd339bfd0801032d0886 09-Mar-2010 Ted Kremenek <kremenek@apple.com> Add test cases for r98003 and r98006.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98008 91177308-0d34-0410-b5e6-96231b3b80d8
ypedef_guards.c