summaryrefslogtreecommitdiff
path: root/lld/Common
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-06-24 11:06:35 +0300
committerMartin Storsjö <martin@martin.st>2021-06-25 00:22:01 +0300
commit3c6f8ca7c9ac99f1606fd0fdd21487675bf3f715 (patch)
tree63bfd8891e1a4b20d2395f9f92ff542f61da8595 /lld/Common
parent86029e4c220b91be728f6ff6a17cad098821e657 (diff)
downloadllvm-3c6f8ca7c9ac99f1606fd0fdd21487675bf3f715.tar.gz
[lld] Rename StringRef _lower() method calls to _insensitive()
Diffstat (limited to 'lld/Common')
-rw-r--r--lld/Common/Args.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/Common/Args.cpp b/lld/Common/Args.cpp
index afc57822c5c3..fe7300dd597e 100644
--- a/lld/Common/Args.cpp
+++ b/lld/Common/Args.cpp
@@ -89,7 +89,7 @@ std::vector<StringRef> lld::args::getLines(MemoryBufferRef mb) {
}
StringRef lld::args::getFilenameWithoutExe(StringRef path) {
- if (path.endswith_lower(".exe"))
+ if (path.endswith_insensitive(".exe"))
return sys::path::stem(path);
return sys::path::filename(path);
}