aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/llvm-cov.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-06-23 14:52:36 +0300
committerMartin Storsjö <martin@martin.st>2021-06-25 00:22:01 +0300
commit42f74e824908f164f31e1d9e913dbd975d03fe4a (patch)
treeb985cc146e544ff2521c0089f31498c71a7d40aa /llvm/tools/llvm-cov/llvm-cov.cpp
parent3eed57e7ef7da5eda765ccc19fd26fb8dfcd8d41 (diff)
downloadllvm-42f74e824908f164f31e1d9e913dbd975d03fe4a.zip
llvm-42f74e824908f164f31e1d9e913dbd975d03fe4a.tar.gz
llvm-42f74e824908f164f31e1d9e913dbd975d03fe4a.tar.bz2
[llvm] Rename StringRef _lower() method calls to _insensitive()
This is a mechanical change. This actually also renames the similarly named methods in the SmallString class, however these methods don't seem to be used outside of the llvm subproject, so this doesn't break building of the rest of the monorepo.
Diffstat (limited to 'llvm/tools/llvm-cov/llvm-cov.cpp')
-rw-r--r--llvm/tools/llvm-cov/llvm-cov.cpp2
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 172ec9f..0e320c0 100644
--- a/llvm/tools/llvm-cov/llvm-cov.cpp
+++ b/llvm/tools/llvm-cov/llvm-cov.cpp
@@ -60,7 +60,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_lower("gcov"))
+ if (sys::path::stem(argv[0]).endswith_insensitive("gcov"))
return gcovMain(argc, argv);
// Check if we are invoking a specific tool command.