aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Preprocessor.cpp
AgeCommit message (Expand)Author
2009-04-10move a bunch of code for initializing the predefines buffer out of Preprocess...Chris Lattner
2009-04-10PCH serialization/deserialization of the source manager. With thisDouglas Gregor
2009-04-08More fixes to builtin preprocessor defines.Daniel Dunbar
2009-04-08Set __PIC__ (more) correctly.Daniel Dunbar
2009-04-07The __weak and __strong defines are common to all darwin targetsChris Lattner
2009-04-06Define __OPTIMIZE__ and __OPTIMIZE_SIZE__ if the -O[12] and -Os flags are pas...Anders Carlsson
2009-03-26Put back __OBJC2__ definition.Fariborz Jahanian
2009-03-26- Minor change to dump of ivar layout map.Fariborz Jahanian
2009-03-24change the __VERSION__ string to be more sensible. It would be useful to inc...Chris Lattner
2009-03-20rename the <predefines> buffer to <built-in> to solve PR3849.Chris Lattner
2009-03-20pass LangOptions into TargetInfo::getTargetDefines, so that targetsChris Lattner
2009-03-15(Hopefully) instantiate dependent array types correctly.Anders Carlsson
2009-03-13make Preprocessor::Diags be a pointer instead of a reference.Chris Lattner
2009-03-09fix PR3768, Clang does -D__STDC_HOSTED__=1, even if -ffreestanding is passed.Chris Lattner
2009-03-07Fix warnings in build on clang-x86_64-freebsd buildbot.Mike Stump
2009-03-02improve compatibility with GCC 4.4, patch by Michel Salim (PR3697)Chris Lattner
2009-02-27Clean up and document code modification hints.Douglas Gregor
2009-02-20switch the macroinfo argument lists from being allocated off the heapChris Lattner
2009-02-20detemplatify setArgumentList and some other cleanups.Chris Lattner
2009-02-20require the MAcroInfo objects are explcitly destroyed.Chris Lattner
2009-02-18update comment.Chris Lattner
2009-02-18Fix some issues handling sub-token locations that come from macro expansions.Chris Lattner
2009-02-16define __OBJC2__ for objc's nonfragile abi.Fariborz Jahanian
2009-02-16Add support for deprecated members of RecordDecls (e.g. struct fields).Chris Lattner
2009-02-15track "just a little more" location information for macro instantiations.Chris Lattner
2009-02-13Give TargetInfo a new IntPtrType to hold the intptr_t type forChris Lattner
2009-02-13Fix rdar://6562329, a static analyzer crash Ted noticed on Chris Lattner
2009-02-12PTH: Cache stat information for files in the PTH file. Hook up FileManagerTed Kremenek
2009-02-06Export __INT8_TYPE__ / __INT16_TYPE__ / __INT32_TYPE__ / __INT64_TYPE__Chris Lattner
2009-02-06-funsigned-char sets __CHAR_UNSIGNED__Chris Lattner
2009-02-06Add an implementation of -dM that follows GCC closely enough to permitChris Lattner
2009-02-06get __WCHAR_TYPE__ from the targetinfo hookChris Lattner
2009-02-06simplify and refactor a bunch of type definition code in PreprocessorChris Lattner
2009-02-06remove some ad-hocery and use DefineTypeSize for more things.Chris Lattner
2009-02-06refactor some code into a DefineTypeSize function.Chris Lattner
2009-02-05correct and generalize computation of __INTMAX_MAX__.Chris Lattner
2009-02-05fix some differences between apple gcc and clang on darwin/x86-32.Chris Lattner
2009-01-29move library-specific diagnostic headers into library private dirs. ReduceChris Lattner
2009-01-27Split the single monolithic DiagnosticKinds.def file into oneChris Lattner
2009-01-27Introduce a new PresumedLoc class to represent the concept of a locationChris Lattner
2009-01-27PTH: Use Token::setLiteralData() to directly store a pointer to cached spelli...Ted Kremenek
2009-01-26This change refactors some of the low-level lexer interfaces a bit.Chris Lattner
2009-01-23This is a follow-up to r62675:Chris Lattner
2009-01-21Add a bit to IdentifierInfo that acts as a simple predicate whichChris Lattner
2009-01-19Run destructors of MacroInfo objects to free memory they allocate. This addr...Ted Kremenek
2009-01-17in Preprocessor::AdvanceToTokenCharacter, don't actually botherChris Lattner
2009-01-17suck the call to "getSpellingLoc" that all clients do intoChris Lattner
2009-01-17this massive patch introduces a simple new abstraction: it makesChris Lattner
2009-01-16more SourceLocation lexicon change: instead of referring to theChris Lattner
2009-01-16remove obsolete comment which happened to go over 80 cols.Chris Lattner