aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
AgeCommit message (Expand)Author
2013-04-19[libclang] Make sure the preable does not truncate comments.Argyrios Kyrtzidis
2013-03-11Add -Wc99-compat warning for C11 unicode string and character literals.Richard Smith
2013-03-09When lexing in C11 mode, accept unicode character and string literals, per C11Richard Smith
2013-03-05Preprocessor: don't consider // to be a line comment in -E -std=c89 mode.Jordan Rose
2013-02-21Preprocessor: preserve whitespace in -traditional-cpp mode.Jordan Rose
2013-02-09Properly validate UCNs for C99 and C++03 (both more restrictive than C(++)11).Jordan Rose
2013-02-08Pull Lexer's CharInfo table out for general use throughout Clang.Jordan Rose
2013-01-31Lexer: Don't warn about Unicode in preprocessor directives.Jordan Rose
2013-01-30Fix r173881 to properly skip invalid UTF-8 characters in raw lexing and -E.Jordan Rose
2013-01-30Move UTF conversion routines from clang/lib/Basic to llvm/lib/SupportDmitri Gribenko
2013-01-30Don't warn about Unicode characters in -E mode.Jordan Rose
2013-01-28PR15067 (again): Don't warn about UCNs in C90 if we're raw-lexing.Jordan Rose
2013-01-27PR15067: Don't assert when a UCN appears in a C90 file.Jordan Rose
2013-01-25Lexer.cpp: Fix a warning with ptrdiff_t on i686. [-Wsign-compare]NAKAMURA Takumi
2013-01-25Clarify comment: "diagnose" is better than "warn" when emitting an error.Jordan Rose
2013-01-24Add a fixit for \U1234 -> \u1234.Jordan Rose
2013-01-24As an extension, treat Unicode whitespace characters as whitespace.Jordan Rose
2013-01-24Handle universal character names and Unicode characters outside of literals.Jordan Rose
2013-01-12Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko
2013-01-07Pull the bulk of Lexer::MeasureTokenLength() out into a new function,Argyrios Kyrtzidis
2013-01-02s/CPlusPlus0x/CPlusPlus11/gRichard Smith
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth
2012-11-28Teach Lexer::getSpelling about raw string literals. Specifically, if a rawRichard Smith
2012-11-17Fix crash on end-of-file after \ in a char literal, fixes PR14369.Nico Weber
2012-11-14Fix an assertion failure printing the unused-label fixit in files using CRLF ...Eli Friedman
2012-11-13Revert r167801, "[preprocessor] When #including something that contributes noDaniel Dunbar
2012-11-13UCNs in char literals are done (in LiteralSupport), remove FIXME. Expand UCN ...Nico Weber
2012-11-13[preprocessor] When #including something that contributes no tokens at all,Argyrios Kyrtzidis
2012-11-13In Lexer::LexTokenInternal, avoid code duplication; no functionality change.Argyrios Kyrtzidis
2012-11-11s/BCPLComment/LineComment/Nico Weber
2012-10-25Take into account that there may be a BOM at the beginning of the file,Argyrios Kyrtzidis
2012-09-24StringRef'ize Preprocessor::CreateString().Dmitri Gribenko
2012-09-06Dont cast away const needlessly. Found by gcc48 -Wcast-qual.Roman Divacky
2012-08-31Make a bunch of methods on Lexer private.Eli Friedman
2012-07-30Lexer: remove dead stores. Found by Clang static analyzer!Dmitri Gribenko
2012-06-28Add warning flag -Winvalid-pp-token for preprocessing-tokens which haveRichard Smith
2012-06-17Documentation cleanup:James Dennett
2012-06-15[-E] Emit a rewritten _Pragma on its own line.Jordan Rose
2012-06-15Documentation cleanup: escape backslashes in Doxygen comments.James Dennett
2012-06-15PR12717: Clang supports hexadecimal floating-point literals in all languageRichard Smith
2012-06-15Fix PR13065.David Blaikie
2012-06-08Correct method name in comment: from LexRawToken to LexFromRawLexer, accordingDmitri Gribenko
2012-06-07Insert a space if necessary when suggesting CFBridgingRetain/Release.Jordan Rose
2012-06-06Add a -rewrite-includes option, which is similar to -rewrite-macros, but only...David Blaikie
2012-06-06Escape \n and \r in doxycomment.David Blaikie
2012-05-18Lexer::ReadToEndOfLine: Only build the string if it's actually used and do so...Benjamin Kramer
2012-04-13Support -Wc++98-compat-pedantic as requested:Seth Cantrell
2012-04-13C++11 no longer requires files to end with a newlineSeth Cantrell
2012-04-07ext_reserved_user_defined_literal must not default to Error in MicrosoftMode....Francois Pichet
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie