diff options
author | Martin Storsjö <martin@martin.st> | 2021-06-23 14:52:36 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-06-25 00:22:01 +0300 |
commit | e5c7c171e5db6af1e3dca1059df4287b0d147eaf (patch) | |
tree | 42061c8b154322e4788faef6915db2b8b6a79790 /clang/lib/Lex/HeaderMap.cpp | |
parent | 42f74e824908f164f31e1d9e913dbd975d03fe4a (diff) | |
download | llvm-e5c7c171e5db6af1e3dca1059df4287b0d147eaf.zip llvm-e5c7c171e5db6af1e3dca1059df4287b0d147eaf.tar.gz llvm-e5c7c171e5db6af1e3dca1059df4287b0d147eaf.tar.bz2 |
[clang] Rename StringRef _lower() method calls to _insensitive()
This is mostly a mechanical change, but a testcase that contains
parts of the StringRef class (clang/test/Analysis/llvm-conventions.cpp)
isn't touched.
Diffstat (limited to 'clang/lib/Lex/HeaderMap.cpp')
-rw-r--r-- | clang/lib/Lex/HeaderMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/HeaderMap.cpp b/clang/lib/Lex/HeaderMap.cpp index 4b60cfa..ae5e6b2 100644 --- a/clang/lib/Lex/HeaderMap.cpp +++ b/clang/lib/Lex/HeaderMap.cpp @@ -224,7 +224,7 @@ StringRef HeaderMapImpl::lookupFilename(StringRef Filename, Optional<StringRef> Key = getString(B.Key); if (LLVM_UNLIKELY(!Key)) continue; - if (!Filename.equals_lower(*Key)) + if (!Filename.equals_insensitive(*Key)) continue; // If so, we have a match in the hash table. Construct the destination |