aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Lexer.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-01-31Lexer: Don't warn about Unicode in preprocessor directives.Jordan Rose1-2/+4
2013-01-30Fix r173881 to properly skip invalid UTF-8 characters in raw lexing and -E.Jordan Rose1-0/+1
2013-01-30Move UTF conversion routines from clang/lib/Basic to llvm/lib/SupportDmitri Gribenko1-9/+11
2013-01-30Don't warn about Unicode characters in -E mode.Jordan Rose1-18/+20
2013-01-28PR15067 (again): Don't warn about UCNs in C90 if we're raw-lexing.Jordan Rose1-1/+2
2013-01-27PR15067: Don't assert when a UCN appears in a C90 file.Jordan Rose1-3/+6
2013-01-25Lexer.cpp: Fix a warning with ptrdiff_t on i686. [-Wsign-compare]NAKAMURA Takumi1-1/+1
2013-01-25Clarify comment: "diagnose" is better than "warn" when emitting an error.Jordan Rose1-1/+1
2013-01-24Add a fixit for \U1234 -> \u1234.Jordan Rose1-1/+9
2013-01-24As an extension, treat Unicode whitespace characters as whitespace.Jordan Rose1-0/+23
2013-01-24Handle universal character names and Unicode characters outside of literals.Jordan Rose1-13/+275
2013-01-12Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko1-1/+1
2013-01-07Pull the bulk of Lexer::MeasureTokenLength() out into a new function,Argyrios Kyrtzidis1-5/+15
2013-01-02s/CPlusPlus0x/CPlusPlus11/gRichard Smith1-7/+7
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth1-4/+4
2012-11-28Teach Lexer::getSpelling about raw string literals. Specifically, if a rawRichard Smith1-42/+67
2012-11-17Fix crash on end-of-file after \ in a char literal, fixes PR14369.Nico Weber1-6/+8
2012-11-14Fix an assertion failure printing the unused-label fixit in files using CRLF ...Eli Friedman1-1/+8
2012-11-13Revert r167801, "[preprocessor] When #including something that contributes noDaniel Dunbar1-22/+0
2012-11-13UCNs in char literals are done (in LiteralSupport), remove FIXME. Expand UCN ...Nico Weber1-2/+1
2012-11-13[preprocessor] When #including something that contributes no tokens at all,Argyrios Kyrtzidis1-0/+22
2012-11-13In Lexer::LexTokenInternal, avoid code duplication; no functionality change.Argyrios Kyrtzidis1-39/+26
2012-11-11s/BCPLComment/LineComment/Nico Weber1-22/+22
2012-10-25Take into account that there may be a BOM at the beginning of the file,Argyrios Kyrtzidis1-3/+6
2012-09-24StringRef'ize Preprocessor::CreateString().Dmitri Gribenko1-1/+1
2012-09-06Dont cast away const needlessly. Found by gcc48 -Wcast-qual.Roman Divacky1-1/+2
2012-08-31Make a bunch of methods on Lexer private.Eli Friedman1-1/+1
2012-07-30Lexer: remove dead stores. Found by Clang static analyzer!Dmitri Gribenko1-5/+2
2012-06-28Add warning flag -Winvalid-pp-token for preprocessing-tokens which haveRichard Smith1-3/+3
2012-06-17Documentation cleanup:James Dennett1-11/+7
2012-06-15[-E] Emit a rewritten _Pragma on its own line.Jordan Rose1-1/+1
2012-06-15Documentation cleanup: escape backslashes in Doxygen comments.James Dennett1-4/+5
2012-06-15PR12717: Clang supports hexadecimal floating-point literals in all languageRichard Smith1-2/+14
2012-06-15Fix PR13065.David Blaikie1-1/+1
2012-06-08Correct method name in comment: from LexRawToken to LexFromRawLexer, accordingDmitri Gribenko1-2/+2
2012-06-07Insert a space if necessary when suggesting CFBridgingRetain/Release.Jordan Rose1-0/+5
2012-06-06Add a -rewrite-includes option, which is similar to -rewrite-macros, but only...David Blaikie1-2/+3
2012-06-06Escape \n and \r in doxycomment.David Blaikie1-2/+2
2012-05-18Lexer::ReadToEndOfLine: Only build the string if it's actually used and do so...Benjamin Kramer1-7/+8
2012-04-13Support -Wc++98-compat-pedantic as requested:Seth Cantrell1-4/+4
2012-04-13C++11 no longer requires files to end with a newlineSeth Cantrell1-1/+2
2012-04-07ext_reserved_user_defined_literal must not default to Error in MicrosoftMode....Francois Pichet1-1/+3
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie1-60/+60
2012-03-08Implement C++11 [lex.ext]p10 for string and character literals: a ud-suffix notRichard Smith1-1/+14
2012-03-07Add -Wc++11-compat warning for string and character literals followed byRichard Smith1-5/+12
2012-03-06User-defined literals: reject string and character UDLs in all places where theRichard Smith1-0/+1
2012-03-05Lexing support for user-defined literals. Currently these lex as the same tokenRichard Smith1-1/+36
2012-02-03Change Lexer::makeFileCharRange() to have it accept a CharSourceRangeArgyrios Kyrtzidis1-24/+35
2012-01-23Improve Lexer::getImmediateMacroName to take into account inner macrosArgyrios Kyrtzidis1-3/+29
2012-01-20Enhance Lexer::makeFileCharRange to check for ranges inside a macro argumentArgyrios Kyrtzidis1-11/+61