aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Lexer.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-26Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'Chandler Carruth1-3/+2
2011-07-26Convert InstantiationInfo and much of the related code to ExpansionInfoChandler Carruth1-2/+2
2011-07-26Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.Chandler Carruth1-4/+4
2011-07-25Rename SourceManager::getImmediateInstantiationRange toChandler Carruth1-1/+1
2011-07-25Rename SourceManager::getInstantiationRange to getExpansionRange.Chandler Carruth1-1/+1
2011-07-25Mechanically rename SourceManager::getInstantiationLoc andChandler Carruth1-1/+1
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-15/+15
2011-07-20SpellingJoerg Sonnenberger1-1/+1
2011-07-19Revamp the SourceManager to separate the representation of parsedDouglas Gregor1-3/+3
2011-07-14Convert terminology in the Lexer from 'instantiate' and variants toChandler Carruth1-26/+27
2011-07-07Move SourceManager::isAt[Start/End]OfMacroInstantiation functions to the Lexe...Argyrios Kyrtzidis1-1/+52
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis1-1/+1
2011-06-24Allow Lexer::getLocForEndOfToken to return the location just passed the macro...Argyrios Kyrtzidis1-2/+10
2011-05-10Don't strlen() every file before parsing it.Eli Friedman1-1/+2
2011-04-15fix a bunch of comment typos found by codespell. Patch byChris Lattner1-1/+1
2011-04-14Implement C++0x [lex.pptoken]p3's handling of <::.Richard Smith1-0/+15
2011-04-09Eat the UTF-8 BOM at the beginning of a file since it's ignored anyhow.Eric Christopher1-1/+14
2011-04-06Fix getLocForEndOfToken to not double-count spurious internal characters John McCall1-1/+1
2011-03-18Lexer: Add extremely limited support for -traditional-cpp, ignoring BCPLDaniel Dunbar1-3/+5
2011-03-08Fix my earlier commit to work with escaped newlines and leave breadcrumbsJohn McCall1-0/+48
2011-02-28Rename tok::eom to tok::eod.Peter Collingbourne1-7/+7
2011-02-15Warn for missing terminating " or ' instead of error for gcc compatibility. F...Argyrios Kyrtzidis1-2/+2
2011-02-09Lexer: add CUDA kernel call tokensPeter Collingbourne1-0/+8
2011-01-31Harden Lexer::GetBeginningOfToken() against bogus source locations andDouglas Gregor1-0/+6
2010-12-22Introduced raw_identifier token kind.Abramo Bagnara1-25/+24
2010-11-17move getSpelling from Preprocessor to Lexer, which it is more conceptually re...Chris Lattner1-0/+101
2010-11-17move AdvanceToTokenCharacter and getLocForEndOfToken fromChris Lattner1-0/+77
2010-10-23Update remaining attribute macros to new style.Chandler Carruth1-4/+2
2010-09-30In MeasureTokenLength, the FileLoc supplied to the lexer must point to the st...Sebastian Redl1-1/+2
2010-08-31improve isHexaLiteral to work with escaped newlines and trigraphs,Chris Lattner1-7/+8
2010-08-30silence a warningChris Lattner1-1/+1
2010-08-30Revert my user-defined literal commits - r1124{58,60,67} pendingAlexis Hunt1-29/+2
2010-08-30add a fixme.Chris Lattner1-1/+5
2010-08-30use 'features' instead of 'PP->getLangOptions'.Chris Lattner1-8/+8
2010-08-30In Microsoft compatibility mode, don't parse the exponent as part ofDouglas Gregor1-1/+10
2010-08-29Implement C++0x user-defined string literals.Alexis Hunt1-2/+29
2010-08-25Introduce a preprocessor code-completion hook for contexts where weDouglas Gregor1-6/+22
2010-08-24Introduce basic code-completion support for preprocessor directives,Douglas Gregor1-18/+18
2010-08-12Don't emit end-of-file diagnostics like "unterminated conditional" orDouglas Gregor1-4/+7
2010-08-11Random temporary string cleanup.Benjamin Kramer1-1/+1
2010-08-09Use precompiled preambles for in-process code completion.Douglas Gregor1-2/+16
2010-07-26Introduce basic support for loading a precompiled preamble whileDouglas Gregor1-2/+13
2010-07-22Improve performance during cursor traversal when a region of interestDouglas Gregor1-0/+53
2010-07-20Introduce a new lexer function to compute the "preamble" of a file,Douglas Gregor1-0/+125
2010-07-07fix PR4499, patch by Kyle Dean!Chris Lattner1-24/+16
2010-05-30simpler fix for rdar://8044135 - escaped newlines have alreadyChris Lattner1-10/+7
2010-05-30Improve our handling of NULL after an escaping '\' in a stringDouglas Gregor1-2/+7
2010-05-25Improve code completion in failure cases in two ways:Douglas Gregor1-0/+3
2010-05-17robustify the conflict marker stuff. Don't add 7 twice, which wouldChris Lattner1-1/+2
2010-05-16when code completing inside a C-style block comment, don't emit errors aboutChris Lattner1-2/+3