aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/PPCaching.cpp
AgeCommit message (Expand)AuthorFilesLines
2021-07-21[clang] Introduce SourceLocation::[U]IntTy typedefs.Simon Tatham1-1/+1
2019-05-17[Lex] Allow to consume tokens while preprocessingIlya Biryukov1-2/+2
2019-04-11[C++20] Implement context-sensitive header-name lexing and pp-import parsing ...Richard Smith1-1/+2
2019-04-11Remove use of lookahead from _Pragma handling and from all otherRichard Smith1-32/+19
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-01-19[Lex] Fix crash on code completion in comment in included file.Volodymyr Sapsai1-1/+3
2017-02-24[Preprocessor] Fix incorrect token caching that occurs when lexing _PragmaAlex Lorenz1-0/+30
2016-10-26[PP] Replace some index based for loops with range based onesErik Verbruggen1-1/+1
2016-10-20Fix off-by-one error in PPCaching.cpp token annotation assertionReid Kleckner1-1/+1
2016-01-31[Parser] Update CachedTokens while parsing ObjectiveC template argument listBruno Cardoso Lopes1-0/+26
2013-11-27Fix the build break introduced by r195799 by restoring two closeChandler Carruth1-1/+2
2013-11-27Documentation cleanup: Doxygen-ification, typo fixes, and changing some ofJames Dennett1-13/+12
2012-04-04[preprocessor] In Preprocessor::CachingLex() check whether there were more to...Argyrios Kyrtzidis1-7/+11
2012-01-04Don't treat 'import' as a contextual keyword when we're in a caching lexer, o...Douglas Gregor1-2/+2
2011-09-07Optimize the preprocessor's handling of the __import_module__Douglas Gregor1-0/+2
2010-07-12Remove the check for repeated tok::eofs, we are not supposed to go past eof s...Argyrios Kyrtzidis1-9/+4
2010-07-12If we are past tok::eof and in caching lex mode, avoid caching repeated tok::...Argyrios Kyrtzidis1-4/+12
2010-07-12we do in fact have to cache the EOF token returned by the preprocessor.Chris Lattner1-6/+3
2010-02-08When placing an annotation token over an existing annotation token, make sure...Sebastian Redl1-1/+1
2009-11-12Remove an overly-eager assertion when replacing tokens with anDouglas Gregor1-2/+0
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump1-1/+1
2009-07-26fix segfault (because of erasing after the vector boundaries) when the cached...Nuno Lopes1-1/+2
2009-01-26This change refactors some of the low-level lexer interfaces a bit.Chris Lattner1-1/+1
2008-11-19Remove Preprocessor::CacheTokens boolean data member. The same functionality ...Argyrios Kyrtzidis1-4/+1
2008-11-12Use PushIncludeMacroStack() instead of manually manipulating the include stack.Ted Kremenek1-4/+1
2008-11-08Introduce annotation tokens, a special kind of token, created and used only b...Argyrios Kyrtzidis1-0/+24
2008-09-05Line endings: CRLF -> LFArgyrios Kyrtzidis1-8/+8
2008-08-24Rename Preprocessor::DisableBacktrack -> Preprocessor::CommitBacktrackedTokens.Argyrios Kyrtzidis1-10/+10
2008-08-23Change line endings: CRLF -> LFArgyrios Kyrtzidis1-30/+30
2008-08-22Allow nested backtracks.Argyrios Kyrtzidis1-0/+32
2008-08-10Allow the preprocessor to cache the lexed tokens, so that we can do efficient...Argyrios Kyrtzidis1-0/+63