aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Lexer.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-07-05Fix invalid warnings for header guards in preamblesErik Verbruggen1-1/+1
2017-06-16[PR33394] Avoid lexing editor placeholders when Clang is used onlyAlex Lorenz1-1/+2
2017-06-03Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.Galina Kistanova1-0/+2
2017-05-30Allow for unfinished #if blocks in preamblesErik Verbruggen1-28/+11
2017-05-17[Lexer] Ensure that the token is not an annotation token whenAlex Lorenz1-0/+4
2017-05-05Add a fix-it for -Wunguarded-availabilityAlex Lorenz1-17/+49
2017-04-19Add support for editor placeholders to ClangAlex Lorenz1-0/+33
2017-04-18Do not warn about whitespace between ??/ trigraph and newline in line comment...Richard Smith1-4/+6
2017-04-17Fix mishandling of escaped newlines followed by newlines or nuls.Richard Smith1-18/+10
2017-04-07Skip Unicode character expansion in assembly filesSanne Wouda1-9/+11
2016-12-30Allow lexer to handle string_view literals. Patch from Anton Bikineev.Eric Fiselier1-3/+3
2016-09-30Move UTF functions into namespace llvm.Justin Lebar1-12/+12
2016-09-07Fix some Clang-tidy modernize-use-using and Include What You Use warnings; ot...Eugene Zelenko1-20/+22
2016-07-27Implement filtering for code completion of identifiers.Vassil Vassilev1-1/+9
2016-04-01[Lexer] Let the compiler infer string lengths. No functionality change intended.Benjamin Kramer1-2/+2
2016-04-01[Lexer] Don't read out of bounds if a conflict marker is at the end of a fileBenjamin Kramer1-1/+1
2016-03-04Update diagnostics now that hexadecimal literals look likely to be part of C+...Richard Smith1-2/+3
2016-02-18Remove use of builtin comma operator.Richard Trieu1-1/+3
2016-02-03[OpenCL] Adding reserved operator logical xor for OpenCLAnastasia Stulova1-0/+3
2016-01-26Fix -Wnull-conversion for long macros.Richard Trieu1-0/+25
2015-12-29Emit a -Wmicrosoft warning when treating ^Z as EOF in MS mode.Nico Weber1-1/+4
2015-11-20[clang] Disable Unicode in asm filesVinicius Tinti1-2/+6
2015-11-14Use %select to merge similar diagnostics. NFCCraig Topper1-5/+5
2015-10-22Disable trigraph and escaped newline expansion on all types of raw string lit...Craig Topper1-1/+1
2015-06-01Replace a few std::string& with StringRef. NFC.Rafael Espindola1-1/+1
2015-05-04Fix buffer overflow in LexerKostya Serebryany1-1/+1
2015-03-06Use delegating ctors to reduce code duplication. NFC.Benjamin Kramer1-8/+2
2014-12-14Lex: Don't crash if both conflict markers are on the same lineDavid Majnemer1-2/+2
2014-11-08[c++1z] Support for u8 character literals.Richard Smith1-6/+14
2014-10-29Fix warning in Altivec code when building with GCC 4.8.2 on Ubuntu 14.04.Jay Foad1-1/+1
2014-08-19C++1y is now C++14!Aaron Ballman1-2/+2
2014-08-12Use StringRef instead of MemoryBuffer&.Rafael Espindola1-7/+7
2014-08-11Change MemoryBuffer* to MemoryBuffer& parameter to Lexer::ComputePreambleDavid Blaikie1-9/+9
2014-06-15Hide the concept of diagnostic levels from lex, parse and semaAlp Toker1-6/+3
2014-05-18Remove historical Unicode TODOsAlp Toker1-16/+3
2014-05-17[C++11] Use 'nullptr'. Lex edition.Craig Topper1-9/+12
2014-05-17Provide and use a safe Token::getRawIdentifier() accessorAlp Toker1-3/+2
2014-04-03Revert r205436:Roman Divacky1-28/+5
2014-04-02Extend the SSE2 comment lexing to AVX2. Only 16byte align when not on AVX2.Roman Divacky1-5/+28
2014-03-02[C++11] Replace llvm::tie with std::tie.Benjamin Kramer1-1/+1
2014-02-28Fix a minor bug in lexing pp-numbers with digit separators: if a pp-number co...Richard Smith1-0/+1
2014-02-17PR18855: Add support for UCNs and UTF-8 encoding within ud-suffixes.Richard Smith1-60/+90
2014-01-14Rename language option MicrosoftMode to MSVCCompatAlp Toker1-4/+4
2014-01-07Sort all the #include lines with LLVM's utils/sort_includes.py whichChandler Carruth1-1/+1
2013-12-14Lexer: Issue -Wbackslash-newline-escape for line commentsAlp Toker1-1/+8
2013-12-13Fix raw lex crash and -frewrite-includes noeol-at-eof failureAlp Toker1-1/+2
2013-10-21Lex: Don't restrict legal UCNs when preprocessing assemblyJustin Bogner1-0/+4
2013-09-26Per updates to D3781, allow underscore under ' in a pp-number, and allow ' in...Richard Smith1-1/+1
2013-09-26Implement C++1y digit separator proposal (' as a digit separator). This is notRichard Smith1-0/+12
2013-09-24Avoid a signed/unsigned comparison warning with compilers that don't know howRichard Smith1-1/+1