We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d828397 commit 3ea2689Copy full SHA for 3ea2689
clang-tools-extra/clangd/HeaderSourceSwitch.cpp
@@ -97,7 +97,7 @@ std::optional<Path> getCorrespondingHeaderOrSource(PathRef OriginalFile,
97
};
98
#else
99
auto pathEqual = [](const llvm::StringRef &l, const llvm::StringRef &r) {
100
- return l.equals(r);
+ return l == r;
101
102
#endif
103
Index->lookup(Request, [&](const Symbol &Sym) {
0 commit comments