[all-commits] [llvm/llvm-project] 703b0e: [ADT] Add StringRef consume_front_lower and consum...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Jun 22 02:57:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 703b0ed8e208e5e6cf001689ea0a92296552f032
      https://github.com/llvm/llvm-project/commit/703b0ed8e208e5e6cf001689ea0a92296552f032
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M llvm/include/llvm/ADT/StringRef.h
    M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
    M llvm/tools/llvm-rc/llvm-rc.cpp
    M llvm/unittests/ADT/StringRefTest.cpp

  Log Message:
  -----------
  [ADT] Add StringRef consume_front_lower and consume_back_lower

These serve as a convenient combination of consume_front/back and
startswith_lower/endswith_lower, consistent with other existing
case insensitive methods named <operation>_lower.

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




More information about the All-commits mailing list