1. 28 6月, 2022 1 次提交
  2. 24 3月, 2022 1 次提交
  3. 16 3月, 2022 1 次提交
  4. 24 2月, 2022 1 次提交
    • N
      Improve `scan_escape`. · 37d9ea74
      Nicholas Nethercote 提交于
      `scan_escape` currently has a fast path (for when the first char isn't
      '\\') and a slow path.
      
      This commit changes `scan_escape` so it only handles the slow path, i.e.
      the actual escaping code. The fast path is inlined into the two call
      sites.
      
      This change makes the code faster, because there is no function call
      overhead on the fast path. (`scan_escape` is a big function and doesn't
      get inlined.)
      
      This change also improves readability, because it removes a bunch of
      mode checks on the the fast paths.
      37d9ea74
  5. 02 12月, 2021 1 次提交
  6. 24 11月, 2021 2 次提交
  7. 06 11月, 2021 1 次提交
  8. 15 10月, 2021 1 次提交
  9. 10 10月, 2021 1 次提交
  10. 22 8月, 2021 1 次提交
  11. 11 8月, 2021 2 次提交
  12. 30 7月, 2021 1 次提交
  13. 27 7月, 2021 1 次提交
  14. 26 6月, 2021 3 次提交
  15. 09 4月, 2021 1 次提交
  16. 07 1月, 2021 1 次提交
  17. 18 12月, 2020 1 次提交
  18. 04 12月, 2020 1 次提交
  19. 30 10月, 2020 2 次提交
  20. 09 10月, 2020 1 次提交
  21. 21 9月, 2020 1 次提交
  22. 02 9月, 2020 1 次提交
  23. 31 8月, 2020 1 次提交
    • A
      Move lexer unit tests to rustc_lexer · ccffea5b
      Aleksey Kladov 提交于
      StringReader is an intornal abstraction which at the moment changes a
      lot, so these unit tests cause quite a bit of friction.
      
      Moving them to rustc_lexer and more ingerated-testing style should
      make them much less annoying, hopefully without decreasing their
      usefulness much.
      
      Note that coloncolon tests are removed (it's unclear what those are
      testing).
      
      \r\n tests are removed as well, as we normalize line endings even
      before lexing.
      ccffea5b
  24. 30 8月, 2020 1 次提交