aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
AgeCommit message (Expand)Author
2012-03-08Implement C++11 [lex.ext]p10 for string and character literals: a ud-suffix notRichard Smith
2012-03-07Add -Wc++11-compat warning for string and character literals followed byRichard Smith
2012-03-06User-defined literals: reject string and character UDLs in all places where theRichard Smith
2012-03-05Lexing support for user-defined literals. Currently these lex as the same tokenRichard Smith
2012-02-03Change Lexer::makeFileCharRange() to have it accept a CharSourceRangeArgyrios Kyrtzidis
2012-01-23Improve Lexer::getImmediateMacroName to take into account inner macrosArgyrios Kyrtzidis
2012-01-20Enhance Lexer::makeFileCharRange to check for ranges inside a macro argumentArgyrios Kyrtzidis
2012-01-19Introduce Lexer::getSourceText() that returns a string for the sourceArgyrios Kyrtzidis
2012-01-19Introduce Lexer::makeFileCharRange() that accepts a token source rangeArgyrios Kyrtzidis
2012-01-19For Lexer's isAt[Start/End]OfMacroExpansion add an out parameter for the macroArgyrios Kyrtzidis
2012-01-18Refactor: Pull getImmediateMacroName() out of DiagnosticRenderer andAnna Zaks
2012-01-15Two variables had been added for an assert, but their values wereChandler Carruth
2011-12-22In Lexer::getCharAndSizeSlow[NoWarn] if we come up againstArgyrios Kyrtzidis
2011-12-21In Lexer::getCharAndSizeSlow[NoWarn] make sure we don't go over the end of th...Argyrios Kyrtzidis
2011-12-20Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_...David Blaikie
2011-11-22Remove assert from hot code path and add a clarifying comment.Benjamin Kramer
2011-11-22Lexer: Don't throw away the hard work SSE did to find a slash.Benjamin Kramer
2011-10-17Move about 20 random diagnostics under -W flags. Patch by Ahmed Charles!Ted Kremenek
2011-10-15-Wc++98-compat warnings for the lexer.Richard Smith
2011-10-12We do parse hexfloats in C++11; make it actually work.Douglas Gregor
2011-10-12Handle Perforce-style conflict markers like normal conflict markers. PerforceRichard Smith
2011-10-03Fixed exapnsion range for # and ##.Abramo Bagnara
2011-09-19Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset.Argyrios Kyrtzidis
2011-09-17Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear t...Francois Pichet
2011-09-05Speed up BCPL comment lexing by looking aggressively for newlines and then sc...Benjamin Kramer
2011-09-05Use the Lexer's definition of whitespace here.Benjamin Kramer
2011-09-04Support code-completion for C++ inline methods and ObjC buffering methods.Argyrios Kyrtzidis
2011-09-04Fix Lexer::ComputePreamble when MaxLines parameter is non-zero.Argyrios Kyrtzidis
2011-08-26Introduce support for a simple module import declaration, whichDouglas Gregor
2011-08-25Make Lexer::ComputePreamble accept a LangOptions parameter, otherwise it may beArgyrios Kyrtzidis
2011-08-23In Lexer::isAtEndOfMacroExpansion use SourceManager::isInFileID and avoidArgyrios Kyrtzidis
2011-08-17Make Lexer::GetBeginningOfToken able to handle macro arg expansion locations.Argyrios Kyrtzidis
2011-08-11Add support for C++0x raw string literals.Craig Topper
2011-07-27Add a utility function to the Lexer, which makes it easier to find a token af...Anna Zaks
2011-07-27Add support for C++0x unicode string and character literals, from Craig Topper!Douglas Gregor
2011-07-26Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'Chandler Carruth
2011-07-26Convert InstantiationInfo and much of the related code to ExpansionInfoChandler Carruth
2011-07-26Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.Chandler Carruth
2011-07-25Rename SourceManager::getImmediateInstantiationRange toChandler Carruth
2011-07-25Rename SourceManager::getInstantiationRange to getExpansionRange.Chandler Carruth
2011-07-25Mechanically rename SourceManager::getInstantiationLoc andChandler Carruth
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner
2011-07-20SpellingJoerg Sonnenberger
2011-07-19Revamp the SourceManager to separate the representation of parsedDouglas Gregor
2011-07-14Convert terminology in the Lexer from 'instantiate' and variants toChandler Carruth
2011-07-07Move SourceManager::isAt[Start/End]OfMacroInstantiation functions to the Lexe...Argyrios Kyrtzidis
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis
2011-06-24Allow Lexer::getLocForEndOfToken to return the location just passed the macro...Argyrios Kyrtzidis
2011-05-10Don't strlen() every file before parsing it.Eli Friedman
2011-04-15fix a bunch of comment typos found by codespell. Patch byChris Lattner