aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex
AgeCommit message (Expand)Author
2009-04-17#line is allowed to have macros that expand to nothing after them.Chris Lattner
2009-04-14Change Lexer::MeasureTokenLength to take a LangOptions reference.Chris Lattner
2009-04-14temporarily revert r69046Chris Lattner
2009-04-14Literal value calculation isn't likely to overflow on targets having int as 3...Sanjiv Gupta
2009-04-14Offer a fixit hint for our warning about tokens at the end of a directive:Chris Lattner
2009-04-14Fix the #import / #include_next "extra tokens at end of #foo directive" Chris Lattner
2009-04-13Fix assertion failure in PTH when tokens followed a closing #endif.Daniel Dunbar
2009-04-13implement the microsoft/gnu "__COUNTER__" macro: rdar://4329310Chris Lattner
2009-04-12add a ppcallback hook for macro definitions.Chris Lattner
2009-04-10Compare the predefines buffer in the PCH file with the predefinesDouglas Gregor
2009-04-10do a dance with predefines, and finally enable reading of macros fromChris Lattner
2009-04-10move a bunch of code for initializing the predefines buffer out of Preprocess...Chris Lattner
2009-04-10simplify code.Chris Lattner
2009-04-10PCH serialization/deserialization of the source manager. With thisDouglas Gregor
2009-04-08finish the implementation of -imacros. The driver still needs to be hooked up.Chris Lattner
2009-04-08reject the #__include_macros directive unless it comes from the Chris Lattner
2009-04-08Add initial support for -imacros. Right now it has the same semantics asChris Lattner
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-04-05fix rdar://6757323, where an escaped newline in a // commentChris Lattner
2009-04-02A code modification hint for files that don't end in a newline.Mike Stump
2009-04-01ProcessUCNEscape(): Incorportate some feedback from Chris.Steve Naroff
2009-04-01Fix pascal string support; testcase from mailing list message.Eli Friedman
2009-03-31Incorporate feedback from Eli.Steve Naroff
2009-03-30Implement UCN support for C string literals (C99 6.4.3) and add some very bas...Steve Naroff
2009-03-27push line markers through -E mode.Chris Lattner
2009-03-26Put back __OBJC2__ definition.Fariborz Jahanian
2009-03-26- Minor change to dump of ivar layout map.Fariborz Jahanian
2009-03-25fix PR3880, fixing a comma swallowing bug handling macros that only takeChris Lattner
2009-03-25remove some dead code. ArgTokens can never be empty, because it is always Chris Lattner
2009-03-24change the __VERSION__ string to be more sensible. It would be useful to inc...Chris Lattner
2009-03-23The individual pieces of an invalid paste as still candidates for expansion.Chris Lattner
2009-03-22PTHManager::Create():Ted Kremenek
2009-03-21Add back warning about a PTH file not containing any identifiers, but don't makeTed Kremenek
2009-03-21Allow PTH files with no identifiers.Ted Kremenek
2009-03-20rename the <predefines> buffer to <built-in> to solve PR3849.Chris Lattner
2009-03-20PTHManager::Create() now creates a PTHManager even if the PTH file contains noTed Kremenek
2009-03-20pass LangOptions into TargetInfo::getTargetDefines, so that targetsChris Lattner
2009-03-19Add PTHManager::getOriginalSourceFile(), a method that returns the name of theTed Kremenek
2009-03-18silence some errors that should not apply to .S files on code like:Chris Lattner
2009-03-18when preprocessing a .S file, unknown directives should just be passed through,Chris Lattner
2009-03-18properly form a full token for # before calling HandleDirective.Chris Lattner
2009-03-18This is not considered a preprocessor directive in .S files:Chris Lattner
2009-03-18constructs like:Chris Lattner
2009-03-18Fix -E mismatch; an identifier followed by a numeric constant does notDaniel Dunbar
2009-03-17typoGabor Greif
2009-03-16Build system changes to use TableGen to generate the variousDouglas Gregor
2009-03-15(Hopefully) instantiate dependent array types correctly.Anders Carlsson