Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Fix processing of -Ufoo to not inject "#undef foo 1" into the predefines | Chris Lattner | 2009-05-15 | 1 | -1/+11 | |
| | | | | | | | | | | | | | | | | buffer. This caused exciting nonsense like this: $ clang t.c -fsyntax-only -UMACRO In file included from <built-in>:104: <command line>:1:14: warning: extra tokens at end of #undef directive [-Wextra-tokens] #undef MACRO 1 ^ // 1 diagnostic generated. rdar://6891800 llvm-svn: 71860 | |||||
* | Add another workaround for -include. | Daniel Dunbar | 2009-04-22 | 1 | -3/+9 | |
| | | | | | | | | | | | | - If we don't find a file looking relative to the current working directory, fall back to header search. This is closer to what would happen if the lookup was starting from right directory in the first place (except it will find files in the directory of the main source file, which I *think* should not be found). - PR3992. llvm-svn: 69794 | |||||
* | Fix rdar://6814950 - stdint.h isn't "-pedantic -std=c89" clean, | Chris Lattner | 2009-04-22 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | by marking the predefines buffer as a system header. The problem with stdint is that it was getting problems like this: /Volumes/Projects/cvs/llvm/Debug/lib/clang/1.0/include/stdint.h:43:9: warning: 'long long' is an extension when C99 mode is not enabled typedef __INT64_TYPE__ int64_t; ^ <built-in>:73:29: note: instantiated from: #define __INT64_TYPE__ long long ^ We correctly silence warnings in system headers, but only if the spelling location of the token came from the system header. This is designed so that if you use a system macro in your code that you don't get punished for its definition. This is all cool except that the predefines buffer wasn't considered a system header. llvm-svn: 69770 | |||||
* | this time with more workingness. | Chris Lattner | 2009-04-21 | 1 | -1/+0 | |
| | | | | llvm-svn: 69669 | |||||
* | fix massive testsuite failures from Alexei's patch due to inverted logic. | Chris Lattner | 2009-04-21 | 1 | -9/+7 | |
| | | | | llvm-svn: 69666 | |||||
* | Split preprocessor initialization logic out of clang-cc into | Chris Lattner | 2009-04-21 | 1 | -0/+469 | |
libfrontend. Patch by Alexei Svitkine! llvm-svn: 69664 |