[all-commits] [llvm/llvm-project] bb1b53: [clang-format] Remove unnecessary non-null check a...

Marek Kurdej via All-commits all-commits at lists.llvm.org
Thu Feb 3 00:51:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb1b53da6eeb90d3c101719f569abce1d689a959
      https://github.com/llvm/llvm-project/commit/bb1b53da6eeb90d3c101719f569abce1d689a959
  Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp

  Log Message:
  -----------
  [clang-format] Remove unnecessary non-null check and assert instead. NFC.

After a non-eof token, there is at least an eof token.




More information about the All-commits mailing list