[all-commits] [llvm/llvm-project] b4a3e6: [libcxx] span: Remove unneeded comparison

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Feb 11 02:39:19 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b4a3e6b66428c3eea9271f24b625f4f0f6b30905
      https://github.com/llvm/llvm-project/commit/b4a3e6b66428c3eea9271f24b625f4f0f6b30905
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M libcxx/include/span

  Log Message:
  -----------
  [libcxx] span: Remove unneeded comparison

size_t is always greater than 0, so remove the artifact from the old
index_type.

Patch by Michael Schellenberger Costa.

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




More information about the All-commits mailing list