aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/CompilationDatabaseTest.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
commite5c7c171e5db6af1e3dca1059df4287b0d147eaf (patch)
tree42061c8b154322e4788faef6915db2b8b6a79790 /clang/unittests/Tooling/CompilationDatabaseTest.cpp
parent42f74e824908f164f31e1d9e913dbd975d03fe4a (diff)
downloadllvm-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/unittests/Tooling/CompilationDatabaseTest.cpp')
-rw-r--r--clang/unittests/Tooling/CompilationDatabaseTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/CompilationDatabaseTest.cpp b/clang/unittests/Tooling/CompilationDatabaseTest.cpp
index 8ff3387..9a04de3 100644
--- a/clang/unittests/Tooling/CompilationDatabaseTest.cpp
+++ b/clang/unittests/Tooling/CompilationDatabaseTest.cpp
@@ -210,7 +210,7 @@ TEST(JSONCompilationDatabase, ArgumentsPreferredOverCommand) {
struct FakeComparator : public PathComparator {
~FakeComparator() override {}
bool equivalent(StringRef FileA, StringRef FileB) const override {
- return FileA.equals_lower(FileB);
+ return FileA.equals_insensitive(FileB);
}
};