summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor
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
* Fix PR6282: the include guard optimization cannot happen if theChris Lattner2010-02-122-0/+20
| | | | | | | | guard macro is already defined for the first occurrence of the header. If it is, the body will be skipped and not be properly analyzed for the include guard optimization. llvm-svn: 95972
* revert my patch for rdar://7520940 that warns when a published headerChris Lattner2010-01-223-14/+0
| | | | | | | is #included with "foo.h" style syntax instead of framework syntax. It produced too much noise. llvm-svn: 94120
* Forgot to commit theseAnton Korobeynikov2010-01-142-12/+12
| | | | llvm-svn: 93458
* try to make this more stable?Chris Lattner2010-01-101-1/+1
| | | | llvm-svn: 93090
* add comment to test.Chris Lattner2010-01-101-1/+3
| | | | llvm-svn: 93085
* implement rdar://7520940: published framework headers shouldChris Lattner2010-01-103-0/+12
| | | | | | | import other headers within the same framework with the full framework path, not with a relative include. llvm-svn: 93083
* 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
* a really old testcase I apparently forgot to 'svn add'.Chris Lattner2009-12-201-0/+33
| | | | llvm-svn: 91800
* 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 instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-158-14/+14
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-15112-223/+223
| | | | | | | | | - 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
* Make tests use the new clang -cc1 flag.Fariborz Jahanian2009-12-143-3/+3
| | | | llvm-svn: 91303
* this was a couple bugzillas tooChris Lattner2009-12-141-1/+1
| | | | llvm-svn: 91267
* fix rdar://7466570 - Be more bug compatible with GCC when it comes to Chris Lattner2009-12-141-0/+20
| | | | | | | | expanding directives withing macro expansions. This is undefined behavior according to 6.10.3p11, so we might as well be undefined in ways similar to GCC. llvm-svn: 91266
* filecheckizeChris Lattner2009-12-141-5/+4
| | | | llvm-svn: 91265
* Improve test portability; I can't figure out how to get the regexp library toDaniel Dunbar2009-12-091-2/+2
| | | | | | match $ correctly with \r\n, unfortunately. llvm-svn: 90907
* Don't use MS extensions in this test, we expect header include markers.Daniel Dunbar2009-12-081-1/+1
| | | | llvm-svn: 90880
* fix -dM with variadic macros, PR5699Chris Lattner2009-12-071-0/+9
| | | | llvm-svn: 90735
* rename names for consistencyChris Lattner2009-12-071-11/+10
| | | | llvm-svn: 90734
* filecheckizeChris Lattner2009-12-071-11/+10
| | | | llvm-svn: 90733
* Drop Preprocessor/open-failure test, it breaks running the test suite as root,Daniel Dunbar2009-12-061-11/+0
| | | | | | and I can't figure out how to write it more portably. llvm-svn: 90705
* Unbreak and add test case for r90276, a situation in which getBuffer is ↵Daniel Dunbar2009-12-061-0/+11
| | | | | | | | expected to fail. Also, update SourceManager.h doxyments for getBuffer() to reflect reality. llvm-svn: 90701
* Use '-FOO' 'BAR' instead of '-FOO=BAR' in tests.Daniel Dunbar2009-11-301-2/+2
| | | | llvm-svn: 90122
* Normalize options to use '-FOO' instead of '--FOO'.Daniel Dunbar2009-11-291-2/+2
| | | | llvm-svn: 90071
* Use '-x' 'foo' instead of '-x=foo'.Daniel Dunbar2009-11-292-10/+10
| | | | llvm-svn: 90069
* Remove unnecessary -fms-extensions=0 from tests (this command line syntax is ↵Daniel Dunbar2009-11-293-4/+4
| | | | | | 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
* Avoid unwanted expansion in macros that paste together INT<n>_C(v) and Ken Dyck2009-11-201-2/+2
| | | | | | UINT<n>_C(v) macros. llvm-svn: 89461
* Avoid unwanted expansion in macros that paste together INT<n>_MIN, INT<n>_MAX,Ken Dyck2009-11-201-15/+15
| | | | | | and UINT<n>_MAX defintions. llvm-svn: 89460
* Avoid unwanted macro expansion in macros that paste together int<n>_t andKen Dyck2009-11-201-0/+29
| | | | | | uint<n>_t definitions. llvm-svn: 89459
* Define __WCHAR_WIDTH__ for use in stdint.h.Ken Dyck2009-11-191-0/+11
| | | | llvm-svn: 89353
* Parameterize WINT_MIN and WINT_MAX with __WINT_WIDTH__ to support arbitrary Ken Dyck2009-11-191-4/+4
| | | | | | widths. This corrects the values of these definitions for MSP430 and PIC16. llvm-svn: 89350
* 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
* Define intptr_t and uintptr_t in terms of their equivalent exact-width types.Ken Dyck2009-11-181-22/+22
| | | | llvm-svn: 89237
* 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
* Define INTMAX_C and UINTMAX_C in terms of the corresponding exact-widthKen Dyck2009-11-181-12/+12
| | | | | | INTn_C and UINTn_C macros. llvm-svn: 89226
* Define INTMAX_MIN, INTMAX_MAX, and UINTMAX_MAX in terms of the limit macros forKen Dyck2009-11-181-15/+15
| | | | | | their corresponding exact-width type. llvm-svn: 89224
* Define intmax_t and uintmax_t as the [u]intN_t type corresponding toKen Dyck2009-11-181-22/+22
| | | | | | __INTMAX_WIDTH__. llvm-svn: 89221
* Predefine __INTMAX_WIDTH__ for the future parameterization of INTMAX macros inKen Dyck2009-11-181-0/+11
| | | | | | stdint.h. llvm-svn: 89203
* Replace (-INT8_C(128)), which uses an illegally out-of-range argument forKen Dyck2009-11-171-70/+70
| | | | | | | INT8_C, with (-INT8_C(127)-1) in the definition of INT8_MIN. Apply similar changes to the definitions of INT16_MIN and INT24_MIN. llvm-svn: 89120
OpenPOWER on IntegriCloud