Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Exit the command line into <built-in> instead of going directly from the ↵ | Rafael Espindola | 2009-12-01 | 1 | -0/+5 | |
| | | | | | | | | command line to the input file. We passed <built-in> on the way in, so we should pass it again on the way out. llvm-svn: 90250 | |||||
* | Define __SIG_ATOMIC_WIDTH__ for use in stdint.h. | Ken Dyck | 2009-11-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 89597 | |||||
* | Define __WCHAR_WIDTH__ for use in stdint.h. | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 89353 | |||||
* | Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | | | stdint.h. llvm-svn: 89348 | |||||
* | Add __SIZE_WIDTH__ to eventually replace __SIZE_TYPE__ in stdint.h. | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 89346 | |||||
* | Restore __INTMAX_TYPE__, __UINTMAX_TYPE__, __PTRDIFF_TYPE__, and | Ken Dyck | 2009-11-19 | 1 | -0/+4 | |
| | | | | | | | __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 Dyck | 2009-11-19 | 1 | -1/+0 | |
| | | | | | | replaced with __PTRDIFF_WIDTH__. llvm-svn: 89344 | |||||
* | Add __PTRDIFF_WIDTH__ macro to eventually replace __PTRDIFF_TYPE__ in stdint.h. | Ken Dyck | 2009-11-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 89342 | |||||
* | Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which uses | Ken Dyck | 2009-11-19 | 1 | -1/+0 | |
| | | | | | | __INTPTR_WIDTH__ instead. llvm-svn: 89340 | |||||
* | Predefine __INTPTR_WIDTH__ for future use in stdint.h. | Ken Dyck | 2009-11-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 89231 | |||||
* | Remove the __INTMAX_TYPE__ and __UINTMAX_TYPE__ built-in macros as they are no | Ken Dyck | 2009-11-18 | 1 | -2/+0 | |
| | | | | | | longer used by stdint.h. llvm-svn: 89230 | |||||
* | Predefine __INTMAX_WIDTH__ for the future parameterization of INTMAX macros in | Ken Dyck | 2009-11-18 | 1 | -0/+8 | |
| | | | | | | stdint.h. llvm-svn: 89203 | |||||
* | Simplify PreprocessorOptions, it doesn't need abstracted field access. | Daniel Dunbar | 2009-11-17 | 1 | -14/+12 | |
| | | | | llvm-svn: 89047 | |||||
* | Parameterize the constant-generating macros in stdint.h with new built-in | Ken Dyck | 2009-11-16 | 1 | -1/+9 | |
| | | | | | | | __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 Lattner | 2009-11-12 | 1 | -18/+21 | |
| | | | | | | | | | | 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 info | Chris Lattner | 2009-11-12 | 1 | -5/+1 | |
| | | | | | | | 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 | |||||
* | Tweak PCH -include handling to make sure it matches the name as would be present | Daniel Dunbar | 2009-11-11 | 1 | -4/+9 | |
| | | | | | | in the predefines buffer. llvm-svn: 86903 | |||||
* | Always initialize the header search object as part of InitializePreprocessor; | Daniel Dunbar | 2009-11-11 | 1 | -1/+7 | |
| | | | | | | not doing this has little to no utility. llvm-svn: 86883 | |||||
* | PreprocessorOptions: Get rid of unnecessary 'isPTH' flag for include entries. | Daniel Dunbar | 2009-11-10 | 1 | -3/+3 | |
| | | | | llvm-svn: 86757 | |||||
* | Rename PreprocessorInitOptions to PreprocessorOptions for consistency, and fix | Daniel Dunbar | 2009-11-07 | 1 | -5/+6 | |
| | | | | | | | | filenames. Also, move InitializePreprocessor to Utils.h. llvm-svn: 86335 | |||||
* | clean up integer preprocessor type definitions, patch by Ken Dyck! | Chris Lattner | 2009-11-05 | 1 | -10/+22 | |
| | | | | llvm-svn: 86177 | |||||
* | InitializePreprocessor cannot fail. | Daniel Dunbar | 2009-11-04 | 1 | -4/+1 | |
| | | | | llvm-svn: 86048 | |||||
* | Move -undef flag into PreprocessorInitOptions | Daniel Dunbar | 2009-11-04 | 1 | -3/+2 | |
| | | | | llvm-svn: 86047 | |||||
* | Implement support for the -undef command line option, patch by | Chris Lattner | 2009-11-03 | 1 | -3/+5 | |
| | | | | | | Roman Divacky! PR5363 llvm-svn: 85932 | |||||
* | clean up namespace. | Chris Lattner | 2009-11-02 | 1 | -6/+3 | |
| | | | | llvm-svn: 85826 | |||||
* | simplify intmax setup, patch by Ken Dyck! | Chris Lattner | 2009-10-29 | 1 | -15/+3 | |
| | | | | llvm-svn: 85481 | |||||
* | hookize wint_t's definition, patch by Edward O'Callaghan (from PR5233). | Chris Lattner | 2009-10-21 | 1 | -2/+1 | |
| | | | | llvm-svn: 84740 | |||||
* | Work-around wchar_t and __pragma problem in VC headers | John Thompson | 2009-10-16 | 1 | -2/+11 | |
| | | | | llvm-svn: 84227 | |||||
* | Move the "needs exception support" logic to clang. This also fixes | Rafael Espindola | 2009-10-01 | 1 | -2/+3 | |
| | | | | | | | -fno-exceptions in C++ code. We used to always define __EXCEPTIONS in C++. llvm-svn: 83199 | |||||
* | Non fragile ABI for GNU runtime. Patch bu David Chisnall. | Fariborz Jahanian | 2009-09-10 | 1 | -3/+0 | |
| | | | | llvm-svn: 81462 | |||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -40/+40 | |
| | | | | llvm-svn: 81346 | |||||
* | Don't use '%ll', this doesn't workin on Win32. | Daniel Dunbar | 2009-09-03 | 1 | -1/+3 | |
| | | | | llvm-svn: 80933 | |||||
* | Define _GNU_SOURCE in C++ mode so that clang works with GNU libstdc++. | Eli Friedman | 2009-08-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 80289 | |||||
* | API changes to match llvm ToT. | Chris Lattner | 2009-08-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 79868 | |||||
* | Predefine __cplusplus to the right value (199711L), except when in GNU mode. | Douglas Gregor | 2009-08-06 | 1 | -1/+7 | |
| | | | | llvm-svn: 78283 | |||||
* | define __STDC_VERSION__ processor token for c94 | Ryan Flynn | 2009-07-21 | 1 | -4/+7 | |
| | | | | llvm-svn: 76514 | |||||
* | Fix for PR4192: fix the definition of int64_t on x86_64 Linux. | Eli Friedman | 2009-07-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | Note that I'm guessing that *BSD and Solaris do the same thing as Linux here, but it's quite possible I'm wrong; if the following testcase gives an error on x86-64 with gcc for any of those operating systems, please tell me: #include <stdint.h> int64_t x; long x; llvm-svn: 74583 | |||||
* | Make the StackProtector bitfield use enums instead of obscure numbers. | Bill Wendling | 2009-06-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 74414 | |||||
* | Add stack protector support to clang. This generates the 'ssp' and 'sspreq' | Bill Wendling | 2009-06-28 | 1 | -1/+6 | |
| | | | | | | | | function attributes. There are predefined macros that are defined when stack protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with -fstack-protector-all. llvm-svn: 74405 | |||||
* | __APPLE_CC__ should only be set when building for darwin targets. | Chris Lattner | 2009-06-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 73934 | |||||
* | PR4388: get rid of an extra # line directive; in addition to being | Eli Friedman | 2009-06-15 | 1 | -5/+1 | |
| | | | | | | | unnecessary, this was causing issues for assembler-with-cpp mode, which doesn't process the directive. llvm-svn: 73382 | |||||
* | Misc minor fixes for clang for the Windows target. | Eli Friedman | 2009-06-08 | 1 | -1/+0 | |
| | | | | llvm-svn: 73050 | |||||
* | Move CharIsSigned from TargetInfo to LangOptions. | Eli Friedman | 2009-06-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 72928 | |||||
* | Move a couple Darwin-specific defines into getDarwinDefines. | Eli Friedman | 2009-06-04 | 1 | -5/+0 | |
| | | | | llvm-svn: 72900 | |||||
* | DefineBuiltinMacro is always passed two args, remove the defaulted third | Chris Lattner | 2009-06-04 | 1 | -2/+2 | |
| | | | | | | one. llvm-svn: 72868 | |||||
* | Compile fix needed by the solaris system gcc. | Duncan Sands | 2009-06-03 | 1 | -5/+5 | |
| | | | | llvm-svn: 72772 | |||||
* | Add IEEE quad support to DefineFloatMacros. | Eli Friedman | 2009-05-23 | 1 | -15/+22 | |
| | | | | llvm-svn: 72314 | |||||
* | PR4247: Widen the buffer slightly so it can hold all the definitions for | Eli Friedman | 2009-05-23 | 1 | -1/+1 | |
| | | | | | | | | PPC double double. (No testcase because no normal target uses the format at the moment.) llvm-svn: 72310 | |||||
* | This patch adds support for sender-aware dispatch in Objective-C for the GNU ↵ | Fariborz Jahanian | 2009-05-22 | 1 | -0/+3 | |
| | | | | | | | | | | runtime, when compiled with -fobjc-sender-dependent-dispatch. This is used in AOP, COP, implementing object planes, and a few other things. Patch by David Chisnall. llvm-svn: 72275 | |||||
* | Remove unused parameter. | Eli Friedman | 2009-05-18 | 1 | -1/+0 | |
| | | | | llvm-svn: 71996 |