diff options
author | Kazu Hirata <kazu@google.com> | 2023-05-12 15:37:37 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-05-12 15:37:37 -0700 |
commit | 6c3ea866e93003e16fc55d3b5cedd3bc371d1fde (patch) | |
tree | 8ec6c94db38360f206779c7a82d90fa54c17404c /llvm/tools/llvm-cov/llvm-cov.cpp | |
parent | 3665e2bdd1df50176670b2b14cbea0445e9c13a9 (diff) | |
download | llvm-6c3ea866e93003e16fc55d3b5cedd3bc371d1fde.zip llvm-6c3ea866e93003e16fc55d3b5cedd3bc371d1fde.tar.gz llvm-6c3ea866e93003e16fc55d3b5cedd3bc371d1fde.tar.bz2 |
[llvm] Migrate {starts,ends}with_insensitive to {starts,ends}_with_insensitive (NFC)
This patch migrates uses of StringRef::{starts,ends}with_insensitive
to StringRef::{starts,ends}_with_insensitive so that we can use names
similar to those used in std::string_view. I'm planning to deprecate
StringRef::{starts,ends}with_insensitive once the migration is
complete across the code base.
Differential Revision: https://reviews.llvm.org/D150426
Diffstat (limited to 'llvm/tools/llvm-cov/llvm-cov.cpp')
-rw-r--r-- | llvm/tools/llvm-cov/llvm-cov.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/llvm-cov.cpp b/llvm/tools/llvm-cov/llvm-cov.cpp index 45de2af..5ada5578 100644 --- a/llvm/tools/llvm-cov/llvm-cov.cpp +++ b/llvm/tools/llvm-cov/llvm-cov.cpp @@ -59,7 +59,7 @@ int main(int argc, const char **argv) { InitLLVM X(argc, argv); // If argv[0] is or ends with 'gcov', always be gcov compatible - if (sys::path::stem(argv[0]).endswith_insensitive("gcov")) + if (sys::path::stem(argv[0]).ends_with_insensitive("gcov")) return gcovMain(argc, argv); // Check if we are invoking a specific tool command. |