aboutsummaryrefslogtreecommitdiff
path: root/Lex/Preprocessor.cpp
AgeCommit message (Expand)Author
2008-03-15Make a major restructuring of the clang tree: introduce a top-levelChris Lattner
2008-03-14Make the preprocessor own its PPCallbacks, fixing a memory leak.Chris Lattner
2008-03-09Move a bunch more code out of Preprocessor.cpp into PPLexerChange.cppChris Lattner
2008-03-09split macro expansion support out of Preprocessor.cpp into PPMacroExpansion.cppChris Lattner
2008-03-09rename HandleEndOfMacro -> HandleEndOfTokenLexerChris Lattner
2008-03-09split the MacroArgs class out of TokenLexer.cpp/h intoChris Lattner
2008-03-09rename some MacroExpander-related ivars to TokenLexer.Chris Lattner
2008-03-09rename the MacroExpander class to TokenLexer. It handles bothChris Lattner
2008-03-09split preprocesor directive handling out of Preprocessor.cpp into Directives.cppChris Lattner
2008-03-05Remove the first layer of support for "portability" warnings. This is Chris Lattner
2008-02-25Revert an incorrect part of my previuos patch.Lauro Ramos Venancio
2008-02-25Fix PR2086.Lauro Ramos Venancio
2008-02-16Fix CheckEndOfDirective to diagnose lines that contain macros that expand to Chris Lattner
2008-02-11Move Microsoft __declspec hack from the parser to the preprocessor. Since we ...Steve Naroff
2008-02-10long is 32-bit is on win32.Chris Lattner
2008-02-07- Add support for fuzzy parsing line-oriented __asm's (yuck).Steve Naroff
2008-02-07Minor cleanup from yesterday's -fms-extension commit. Move __int* MS keywords...Steve Naroff
2008-02-07Implement support for the extremely atrocious MS /##/ extension, Chris Lattner
2008-02-07Implement -fms-extensions. This allows us to fuzzy parse non-standard MS cons...Steve Naroff
2008-02-01Fix PR1969. stdin has no FileEntry.Chris Lattner
2008-01-25Change the location we return for the EOF token to actually be on the lastChris Lattner
2008-01-22Fix PR1936, a crash on malformed #if. Thanks to Neil forChris Lattner
2008-01-14Change uses of std::cerr/std::cout to llvm::Lcerr/llvm::cout, and removeTed Kremenek
2008-01-07Fix a nasty corner case that Neil noticed in PR1900, where we would Chris Lattner
2008-01-07Fix typoNate Begeman
2007-12-29Don't attribute in file headers anymore. See llvmdev for theChris Lattner
2007-12-19Interned MainFileID within SourceManager. Since SourceManager is referenced byTed Kremenek
2007-12-12TargetInfo no longer includes a reference to SourceManager.Ted Kremenek
2007-12-11Mega-patch: ripped SourceManager out of Diagnostic/DiagnosticClient. NowTed Kremenek
2007-12-09Add dumping support for locations, make -dumptokens print out the locationChris Lattner
2007-11-23Fix PR1820, an incredibly subtle macro expansion bug that Neil discovered.Chris Lattner
2007-11-15fix a bug Steve noticed, where a #import of the main file itself would fail.Chris Lattner
2007-11-10Since we are all working on Leopard, change the built-in MacOS X version numb...Steve Naroff
2007-10-31Implement a more sensible strategy for ObjC built-in types (addressing a long...Steve Naroff
2007-10-31Checking in some code that is still under construction.Steve Naroff
2007-10-31Add some plumbing to help cope with rewriting "id<p>", "Class<p>*".Steve Naroff
2007-10-30Stop pre-defining objc_msgSend/objc_getClass in the preprocessor. Instead, I ...Steve Naroff
2007-10-30Avoid using macro expansions, which causes these to come out in -E mode.Chris Lattner
2007-10-24Incorporate some feedback from Chris...Steve Naroff
2007-10-23- Add rewrite rule for @class.Steve Naroff
2007-10-17Predefine all the ObjC goodies from <objc/objc.h>. Removed all the ObjC goodi...Steve Naroff
2007-10-10resolve a fixme, by moving __builtin_va_list to a more logicalChris Lattner
2007-10-09Add a dummy for the id typedef. Steve, plz fill this in. :)Chris Lattner
2007-10-09Make a significant change to invert the control flow handlingChris Lattner
2007-10-09Switch lexer/pp over to new Token::is/isNot apiChris Lattner
2007-10-07improve layering:Chris Lattner
2007-10-07change calls to getMacroInfo into hasMacroDefinition() where possible.Chris Lattner
2007-09-24If we see an invalid #ifdef directive, enter a conditional compilation regionChris Lattner
2007-09-03Add #include required on win32.Chris Lattner
2007-07-23Fix a scoping bug that apple gcc doesn't catch for some reason.Chris Lattner