[all-commits] [llvm/llvm-project] 4be36d: [libc++][test] Fix unused variable warning in stri...

Joseph Loser via All-commits all-commits at lists.llvm.org
Thu Jun 2 12:34:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4be36dc77fc96766988344b54f6ab5aade86e1c6
      https://github.com/llvm/llvm-project/commit/4be36dc77fc96766988344b54f6ab5aade86e1c6
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M libcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp
    M libcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp

  Log Message:
  -----------
  [libc++][test] Fix unused variable warning in string_view tests

In 6423a9f0ec8ba70049ea76e7bcfc9a9d1a54e826, I accidentally thought this was
getting tested, but these variables are unused. Just remove the lines instead of
leaving them commented out.

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




More information about the All-commits mailing list