summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Exit the command line into <built-in> instead of going directly from the ↵Rafael Espindola2009-12-011-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 Dyck2009-11-221-0/+1
| | | | llvm-svn: 89597
* Define __WCHAR_WIDTH__ for use in stdint.h.Ken Dyck2009-11-191-0/+1
| | | | llvm-svn: 89353
* Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in Ken Dyck2009-11-191-0/+1
| | | | | | stdint.h. llvm-svn: 89348
* Add __SIZE_WIDTH__ to eventually replace __SIZE_TYPE__ in stdint.h.Ken Dyck2009-11-191-0/+1
| | | | llvm-svn: 89346
* Restore __INTMAX_TYPE__, __UINTMAX_TYPE__, __PTRDIFF_TYPE__, andKen Dyck2009-11-191-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 Dyck2009-11-191-1/+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/+1
| | | | llvm-svn: 89342
* Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which usesKen Dyck2009-11-191-1/+0
| | | | | | __INTPTR_WIDTH__ instead. llvm-svn: 89340
* Predefine __INTPTR_WIDTH__ for future use in stdint.h.Ken Dyck2009-11-181-0/+1
| | | | llvm-svn: 89231
* Remove the __INTMAX_TYPE__ and __UINTMAX_TYPE__ built-in macros as they are noKen Dyck2009-11-181-2/+0
| | | | | | longer used by stdint.h. llvm-svn: 89230
* Predefine __INTMAX_WIDTH__ for the future parameterization of INTMAX macros inKen Dyck2009-11-181-0/+8
| | | | | | stdint.h. llvm-svn: 89203
* Simplify PreprocessorOptions, it doesn't need abstracted field access.Daniel Dunbar2009-11-171-14/+12
| | | | llvm-svn: 89047
* Parameterize the constant-generating macros in stdint.h with new built-inKen Dyck2009-11-161-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 Lattner2009-11-121-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 infoChris Lattner2009-11-121-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 presentDaniel Dunbar2009-11-111-4/+9
| | | | | | in the predefines buffer. llvm-svn: 86903
* Always initialize the header search object as part of InitializePreprocessor;Daniel Dunbar2009-11-111-1/+7
| | | | | | not doing this has little to no utility. llvm-svn: 86883
* PreprocessorOptions: Get rid of unnecessary 'isPTH' flag for include entries.Daniel Dunbar2009-11-101-3/+3
| | | | llvm-svn: 86757
* Rename PreprocessorInitOptions to PreprocessorOptions for consistency, and fixDaniel Dunbar2009-11-071-5/+6
| | | | | | | | filenames. Also, move InitializePreprocessor to Utils.h. llvm-svn: 86335
* clean up integer preprocessor type definitions, patch by Ken Dyck!Chris Lattner2009-11-051-10/+22
| | | | llvm-svn: 86177
* InitializePreprocessor cannot fail.Daniel Dunbar2009-11-041-4/+1
| | | | llvm-svn: 86048
* Move -undef flag into PreprocessorInitOptionsDaniel Dunbar2009-11-041-3/+2
| | | | llvm-svn: 86047
* Implement support for the -undef command line option, patch byChris Lattner2009-11-031-3/+5
| | | | | | Roman Divacky! PR5363 llvm-svn: 85932
* clean up namespace.Chris Lattner2009-11-021-6/+3
| | | | llvm-svn: 85826
* simplify intmax setup, patch by Ken Dyck!Chris Lattner2009-10-291-15/+3
| | | | llvm-svn: 85481
* hookize wint_t's definition, patch by Edward O'Callaghan (from PR5233).Chris Lattner2009-10-211-2/+1
| | | | llvm-svn: 84740
* Work-around wchar_t and __pragma problem in VC headersJohn Thompson2009-10-161-2/+11
| | | | llvm-svn: 84227
* Move the "needs exception support" logic to clang. This also fixesRafael Espindola2009-10-011-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 Jahanian2009-09-101-3/+0
| | | | llvm-svn: 81462
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-40/+40
| | | | llvm-svn: 81346
* Don't use '%ll', this doesn't workin on Win32.Daniel Dunbar2009-09-031-1/+3
| | | | llvm-svn: 80933
* Define _GNU_SOURCE in C++ mode so that clang works with GNU libstdc++.Eli Friedman2009-08-271-0/+2
| | | | llvm-svn: 80289
* API changes to match llvm ToT.Chris Lattner2009-08-231-1/+1
| | | | llvm-svn: 79868
* Predefine __cplusplus to the right value (199711L), except when in GNU mode.Douglas Gregor2009-08-061-1/+7
| | | | llvm-svn: 78283
* define __STDC_VERSION__ processor token for c94Ryan Flynn2009-07-211-4/+7
| | | | llvm-svn: 76514
* Fix for PR4192: fix the definition of int64_t on x86_64 Linux.Eli Friedman2009-07-011-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 Wendling2009-06-281-2/+2
| | | | llvm-svn: 74414
* Add stack protector support to clang. This generates the 'ssp' and 'sspreq'Bill Wendling2009-06-281-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 Lattner2009-06-231-1/+0
| | | | llvm-svn: 73934
* PR4388: get rid of an extra # line directive; in addition to being Eli Friedman2009-06-151-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 Friedman2009-06-081-1/+0
| | | | llvm-svn: 73050
* Move CharIsSigned from TargetInfo to LangOptions.Eli Friedman2009-06-051-1/+1
| | | | llvm-svn: 72928
* Move a couple Darwin-specific defines into getDarwinDefines.Eli Friedman2009-06-041-5/+0
| | | | llvm-svn: 72900
* DefineBuiltinMacro is always passed two args, remove the defaulted thirdChris Lattner2009-06-041-2/+2
| | | | | | one. llvm-svn: 72868
* Compile fix needed by the solaris system gcc.Duncan Sands2009-06-031-5/+5
| | | | llvm-svn: 72772
* Add IEEE quad support to DefineFloatMacros.Eli Friedman2009-05-231-15/+22
| | | | llvm-svn: 72314
* PR4247: Widen the buffer slightly so it can hold all the definitions for Eli Friedman2009-05-231-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 Jahanian2009-05-221-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 Friedman2009-05-181-1/+0
| | | | llvm-svn: 71996
OpenPOWER on IntegriCloud