File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,11 @@ std::optional<Path> getCorrespondingHeaderOrSource(PathRef OriginalFile,
9292 // For each symbol in the original file, we get its target location (decl or
9393 // def) from the index, then award that target file.
9494#ifdef CLANGD_PATH_CASE_INSENSITIVE
95- auto pathEqual = [](const llvm::StringRef & l, const llvm::StringRef & r) {
95+ auto pathEqual = [](llvm::StringRef l, llvm::StringRef r) {
9696 return l.equals_insensitive (r);
9797 };
9898#else
99- auto pathEqual = [](const llvm::StringRef &l, const llvm::StringRef &r) {
100- return l == r;
101- };
99+ auto pathEqual = [](llvm::StringRef l, llvm::StringRef r) { return l == r; };
102100#endif
103101 Index->lookup (Request, [&](const Symbol &Sym) {
104102 auto TargetPathDefinition =
You can’t perform that action at this time.
0 commit comments