aboutsummaryrefslogtreecommitdiff
path: root/Lex
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-10Add some missing #includes for GCC mainline, patch by Shantonu Sen!Chris Lattner
2008-03-10add comments about some simple optimizations that may become Chris Lattner
2008-03-10implement simple support for arbitrary token lookahead. Change the Chris Lattner
2008-03-09improve comment.Chris Lattner
2008-03-09move PP::LookupFile from PPLexerChange -> PPDirectives.cppChris 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 MacroExpander.cpp/h -> TokenLexer.cpp/hChris Lattner
2008-03-09rename the MacroExpander class to TokenLexer. It handles bothChris Lattner
2008-03-09rename MacroTokens -> Tokens. When this is a token stream, there is no macroChris Lattner
2008-03-09split preprocesor directive handling out of Preprocessor.cpp into Directives.cppChris Lattner
2008-03-05remove the source location arguments to various target query methods.Chris Lattner
2008-03-05Remove the first layer of support for "portability" warnings. This is Chris Lattner
2008-02-25clarify comment, this is undefined behavior in any case, even if it onlyChris Lattner
2008-02-25Revert an incorrect part of my previuos patch.Lauro Ramos Venancio
2008-02-25Fix PR2086.Lauro Ramos Venancio
2008-02-24Fix PR2090, a typo in digraph processing.Chris Lattner
2008-02-24Two more Windows-related fixes:Ted Kremenek
2008-02-16Fix CheckEndOfDirective to diagnose lines that contain macros that expand to Chris Lattner
2008-02-13Adjust for APInt's isPositive being renamed to isNonNegative.Dan Gohman
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-29Fix a bug where we would incorrectly emit a "cannot paste" error Chris Lattner
2008-01-25Change the location we return for the EOF token to actually be on the lastChris Lattner
2008-01-23add support for -Wundef.Chris 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
2008-01-03simplify the lexer a bit, pulling stuff out of the default case.Chris Lattner
2007-12-29remove attribution from makefiles.Chris Lattner
2007-12-29Don't attribute in file headers anymore. See llvmdev for theChris Lattner
2007-12-20Converted uses of scoped_ptr to OwningPtr.Ted Kremenek
2007-12-19Interned MainFileID within SourceManager. Since SourceManager is referenced byTed Kremenek
2007-12-19Add support for #pragma mark, which shouldn't warn about bogus tokens.Chris Lattner
2007-12-17implement HeaderMap::LookupFile. I think headermaps are done now. All that is Chris Lattner
2007-12-17implement enough helper functions to successfully dump out the Chris Lattner
2007-12-17simplify some code, using new scoped_ptr support. Fix a bug in the Chris Lattner
2007-12-17Finish hooking up the scaffolding for headermaps. They can now do everythingChris Lattner
2007-12-17Start reading the headermap header, drop the 'errorstr' argument toChris Lattner