Коммит түүх

Эзэн SHA1 Мессеж Огноо
  Ilya Biryukov a3c3146170 [Lex] Allow to consume tokens while preprocessing 6 жил өмнө
  Richard Smith 0fa9a240fd [C++20] Implement context-sensitive header-name lexing and pp-import parsing in the preprocessor. 6 жил өмнө
  Richard Smith 444665e219 Remove use of lookahead from _Pragma handling and from all other 6 жил өмнө
  Chandler Carruth 324f918438 Update the file headers across all of the LLVM projects in the monorepo 6 жил өмнө
  Volodymyr Sapsai d0ace12cca [Lex] Fix crash on code completion in comment in included file. 7 жил өмнө
  Alex Lorenz b35cf4128a [Preprocessor] Fix incorrect token caching that occurs when lexing _Pragma 8 жил өмнө
  Erik Verbruggen 6ad50db42c [PP] Replace some index based for loops with range based ones 8 жил өмнө
  Reid Kleckner 7fea8003b3 Fix off-by-one error in PPCaching.cpp token annotation assertion 8 жил өмнө
  Bruno Cardoso Lopes a0d5dbf5e8 [Parser] Update CachedTokens while parsing ObjectiveC template argument list 9 жил өмнө
  Chandler Carruth a3f01c2887 Fix the build break introduced by r195799 by restoring two close 11 жил өмнө
  James Dennett d742f55261 Documentation cleanup: Doxygen-ification, typo fixes, and changing some of 11 жил өмнө
  Argyrios Kyrtzidis a06642a3a3 [preprocessor] In Preprocessor::CachingLex() check whether there were more tokens 13 жил өмнө
  Douglas Gregor d6aba06861 Don't treat 'import' as a contextual keyword when we're in a caching lexer, or when modules are disabled. 13 жил өмнө
  Douglas Gregor b8db7cd9ac Optimize the preprocessor's handling of the __import_module__ 14 жил өмнө
  Argyrios Kyrtzidis 8951bfde1d Remove the check for repeated tok::eofs, we are not supposed to go past eof so this code is 15 жил өмнө
  Argyrios Kyrtzidis 03569eaabc If we are past tok::eof and in caching lex mode, avoid caching repeated tok::eofs. 15 жил өмнө
  Chris Lattner 63dae6e5ad we do in fact have to cache the EOF token returned by the preprocessor. 15 жил өмнө
  Sebastian Redl 39d67117f8 When placing an annotation token over an existing annotation token, make sure that the new token's range extends to the end of the old token. Assert that in AnnotateCachedTokens. Fixes PR6248. 15 жил өмнө
  Douglas Gregor eaf75f4e0f Remove an overly-eager assertion when replacing tokens with an 16 жил өмнө
  Mike Stump 1eb4433ac4 Remove tabs, and whitespace cleanups. 16 жил өмнө
  Nuno Lopes 1b68f71da2 fix segfault (because of erasing after the vector boundaries) when the cached token position is at the end 16 жил өмнө
  Chris Lattner 47246be8ac This change refactors some of the low-level lexer interfaces a bit. 16 жил өмнө
  Argyrios Kyrtzidis fad03b2b38 Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled(). 16 жил өмнө
  Ted Kremenek 174da89d2d Use PushIncludeMacroStack() instead of manually manipulating the include stack. 17 жил өмнө
  Argyrios Kyrtzidis 3604e3895e Introduce annotation tokens, a special kind of token, created and used only by the parser to replace a group of tokens with a single token encoding semantic information. 17 жил өмнө
  Argyrios Kyrtzidis 02e7e7442c Line endings: CRLF -> LF 17 жил өмнө
  Argyrios Kyrtzidis ed5c38682c Rename Preprocessor::DisableBacktrack -> Preprocessor::CommitBacktrackedTokens. 17 жил өмнө
  Argyrios Kyrtzidis bff73f7f2d Change line endings: CRLF -> LF 17 жил өмнө
  Argyrios Kyrtzidis a9e274c01e Allow nested backtracks. 17 жил өмнө
  Argyrios Kyrtzidis 03db1b31dd Allow the preprocessor to cache the lexed tokens, so that we can do efficient lookahead and backtracking. 17 жил өмнө