[all-commits] [llvm/llvm-project] 9628cb: [NFC] Use higher level constructs to check for whi...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Mon Mar 15 10:27:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9628cb1feef63d764c57fd0652016f9188000e2f
      https://github.com/llvm/llvm-project/commit/9628cb1feef63d764c57fd0652016f9188000e2f
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M clang/lib/Lex/Lexer.cpp

  Log Message:
  -----------
  [NFC] Use higher level constructs to check for whitespace/newlines in the lexer

It turns out that according to valgrind and perf, it's also slightly faster.

Differential Revision: https://reviews.llvm.org/D98637




More information about the All-commits mailing list