[all-commits] [llvm/llvm-project] f6b656: [libc] Add slice/take/drop methods to ArrayRef

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Apr 16 00:55:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6b656853644a058534bffb0708c2e95347bd233
      https://github.com/llvm/llvm-project/commit/f6b656853644a058534bffb0708c2e95347bd233
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M libc/utils/CPP/ArrayRef.h

  Log Message:
  -----------
  [libc] Add slice/take/drop methods to ArrayRef

Add various methods from llvm::ArrayRef. Refactor implementation to remove code duplication.

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




More information about the All-commits mailing list