Steven Watanabe
|
343d65c073
Tell the VS headers that char16_t and char32_t are keywords, so yvals.h doesn't try to define them as typedefs.
|
15 years ago |
Francois Pichet
|
c5138b2957
First test commit by Francois Pichet. _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES is not a predefined macro, remove it.
|
15 years ago |
Douglas Gregor
|
5c0ca52e40
Predeclare class type_info in Microsoft mode, from Francois Pichet!
|
15 years ago |
Michael J. Spencer
|
13cfedb26c
Fix typo in comment.
|
15 years ago |
Eli Friedman
|
1d832436e9
PR7795: Fix the definition of __WCHAR_MAX__ with -fshort-wchar.
|
15 years ago |
Chris Lattner
|
8074ab3c3c
fix some undefined behavior, PR7779.
|
15 years ago |
Douglas Gregor
|
f4f6c9db68
Introduce basic support for loading a precompiled preamble while
|
15 years ago |
Douglas Gregor
|
44c181aec3
Basic plumbing for generating a precompiled preamble for an
|
15 years ago |
Daniel Dunbar
|
7f3a545ba6
Headers: Define __INT64_TYPE__ in terms of getInt64Type(), which isn't always
|
15 years ago |
Ted Kremenek
|
6a9ca7abf0
Remove state assertion.
|
15 years ago |
Ted Kremenek
|
4ae4c91920
Don't crash in InitializePreprocessor() when there is no valid PTHManager. Fixes <rdar://problem/8098441>.
|
15 years ago |
Eric Christopher
|
a4f6bba83c
Remove HAS_TLS define.
|
15 years ago |
Eric Christopher
|
1f84f8d970
More clang support for darwin tls. Add a __has_feature macro and
|
15 years ago |
Dan Gohman
|
cfeac3441a
Add several more predefines from modern versions of GCC.
|
15 years ago |
Ted Kremenek
|
f0af777aff
Predefine the '__clang_analyzer__' macro when using '-analyze'.
|
15 years ago |
Douglas Gregor
|
4290fbd89e
Add Clang version inspection macros. Fixes PR6681.
|
15 years ago |
Chris Lattner
|
fcaa9e7870
fix PR6936: don't generate line marker directives when preprocessing
|
15 years ago |
Douglas Gregor
|
2b003fd276
Sink the _GNU_SOURCE definition down into the target configuration,
|
15 years ago |
Douglas Gregor
|
66791df8d8
Only predefine the macro _GNU_SOURCE in C++ mode when we're on a
|
15 years ago |
Douglas Gregor
|
c8dfe5ece0
When given unsaved files in clang_createTranslationUnitFromSourceFile,
|
15 years ago |
Daniel Dunbar
|
b2987d159a
Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixes
|
15 years ago |
Douglas Gregor
|
4db64a461c
Extend clang_createTranslationUnitFromSourceFile() to support creating
|
15 years ago |
Chandler Carruth
|
103b71c37a
Move the MacroBuilder utilitiy to its own header. Update references.
|
15 years ago |
Daniel Dunbar
|
066515feea
Fix an invalid Twine use spotty by abbeyj, it isn't safe to use Twine
|
15 years ago |
Fariborz Jahanian
|
7d957472ef
Predefine __weak attribute when doing objective-c
|
15 years ago |
Daniel Dunbar
|
1ee4b9e6d2
Fix PR5982, a refacto in checking for '=' in a -D argument.
|
15 years ago |
Benjamin Kramer
|
a99927774d
Use MacroBuilder for TargetDefines instead of std::vector.
|
15 years ago |
Benjamin Kramer
|
b1b5b901ca
Move MacroBuilder into Frontend/Utils.h and clean it up a bit.
|
15 years ago |
Benjamin Kramer
|
a3d8ced7f0
Rework InitPreprocessor to use a MacroBuilder class instead of pushing around
|
15 years ago |
Kovarththanan Rajaratnam
|
3e82f8ac70
Switch UndefineBuiltinMacro() over to using StringRef
|
15 years ago |