Commit History

作者 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 年之前