summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-applying 96173. Looks like finally I got the test case right.Sanjiv Gupta2010-02-161-4/+7
| | | | llvm-svn: 96321
* reverting back 96242 as it still causes a test failure.Sanjiv Gupta2010-02-151-5/+4
| | | | llvm-svn: 96244
* Re-applying 96173 with corresponding changes in test.Sanjiv Gupta2010-02-151-4/+5
| | | | llvm-svn: 96242
* Forgot to commit theseAnton Korobeynikov2010-01-141-1/+1
| | | | llvm-svn: 93458
* ARM: Honor -mfpu= and set __VFP_FP__ and __ARM_NEON__ "correctly".Daniel Dunbar2009-12-211-1/+0
| | | | | | | | - Correctly is in quotes, because we are following what I interpreted as GCC's intent (which diverges from practice, naturally). - Also, fix the arch define for arm1136jf-s. llvm-svn: 91855
* ARM: Fix predefines (__ARM_ARCH_..., __REGISTER_PREFIX).Daniel Dunbar2009-12-181-2/+3
| | | | | | | - This should be done leveraging the backend, but I'm a little refactored out. I'll fix it one day, I promise. llvm-svn: 91700
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-27/+27
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Use '-x' 'foo' instead of '-x=foo'.Daniel Dunbar2009-11-291-7/+7
| | | | llvm-svn: 90069
* Remove unnecessary -fms-extensions=0 from tests (this command line syntax is ↵Daniel Dunbar2009-11-291-2/+2
| | | | | | going away). llvm-svn: 90066
* clang-cc: Change -fsigned-char=0 to -fno-unsigned-char and pass -pic-level ↵Daniel Dunbar2009-11-291-4/+4
| | | | | | using separate args. llvm-svn: 90054
* Define __SIG_ATOMIC_WIDTH__ for use in stdint.h.Ken Dyck2009-11-221-0/+11
| | | | llvm-svn: 89597
* Define __WCHAR_WIDTH__ for use in stdint.h.Ken Dyck2009-11-191-0/+11
| | | | llvm-svn: 89353
* Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in Ken Dyck2009-11-191-0/+11
| | | | | | stdint.h. llvm-svn: 89348
* Add __SIZE_WIDTH__ to eventually replace __SIZE_TYPE__ in stdint.h.Ken Dyck2009-11-191-0/+11
| | | | llvm-svn: 89346
* Restore __INTMAX_TYPE__, __UINTMAX_TYPE__, __PTRDIFF_TYPE__, andKen Dyck2009-11-191-0/+44
| | | | | | | __INTPTR_TYPE__ as the last is used in the test/CodeGen/const-init.c and all could potentially be in use in the wild. My apologies. llvm-svn: 89345
* Remove __PTRDIFF_TYPE__ as it is no longer needed by stdint.h. It has been Ken Dyck2009-11-191-11/+0
| | | | | | replaced with __PTRDIFF_WIDTH__. llvm-svn: 89344
* Add __PTRDIFF_WIDTH__ macro to eventually replace __PTRDIFF_TYPE__ in stdint.h.Ken Dyck2009-11-191-0/+11
| | | | llvm-svn: 89342
* Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which usesKen Dyck2009-11-191-11/+0
| | | | | | __INTPTR_WIDTH__ instead. llvm-svn: 89340
* Predefine __INTPTR_WIDTH__ for future use in stdint.h.Ken Dyck2009-11-181-0/+11
| | | | llvm-svn: 89231
* Remove the __INTMAX_TYPE__ and __UINTMAX_TYPE__ built-in macros as they are noKen Dyck2009-11-181-22/+0
| | | | | | longer used by stdint.h. llvm-svn: 89230
* Predefine __INTMAX_WIDTH__ for the future parameterization of INTMAX macros inKen Dyck2009-11-181-0/+11
| | | | | | stdint.h. llvm-svn: 89203
* Move -fnext-runtime defaulting to driver (and change clang-cc default toDaniel Dunbar2009-11-171-6/+2
| | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
* Move char-is-signed defaulting to driver, instead of usingDaniel Dunbar2009-11-171-3/+3
| | | | | | getDefaultLangOptions. llvm-svn: 89053
* Parameterize the constant-generating macros in stdint.h with new built-inKen Dyck2009-11-161-0/+10
| | | | | | | __INTn_C_SUFFIX__ macros that are defined for types with corresponding constant suffixes (i.e. long and long long). llvm-svn: 88914
* Generalize stdint.h for non-8-bit-multiple types, patch by Chris Lattner2009-11-121-3/+3
| | | | | | | | | | Ken Dyck! "This adds definitions for types of 8-bit multiples from 8 to 64 to stdint.h and rationalizes the selection of types for the exact-width definitions in InitPreprocessor.cpp." llvm-svn: 86977
* do not store wchar/char16/char32/intmax width/alignment infoChris Lattner2009-11-121-2/+2
| | | | | | | into TargetInfo, just derive this based on the underlying type. This prevents them from getting out of synch, patch by Ken Dyck! llvm-svn: 86976
* Remove RUN: true lines.Daniel Dunbar2009-11-081-1/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-28/+28
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Fixed for running on Windows.John Thompson2009-11-031-2/+2
| | | | llvm-svn: 85854
* add two new and very exhaustive preprocessor tests, patch byChris Lattner2009-10-291-0/+945
Ken Dyck! llvm-svn: 85482
OpenPOWER on IntegriCloud