summaryrefslogtreecommitdiffstats
path: root/clangd/ClangdLSPServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'clangd/ClangdLSPServer.h')
-rw-r--r--clangd/ClangdLSPServer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clangd/ClangdLSPServer.h b/clangd/ClangdLSPServer.h
index ed055251..ca4b5724 100644
--- a/clangd/ClangdLSPServer.h
+++ b/clangd/ClangdLSPServer.h
@@ -88,7 +88,8 @@ private:
bool IsDone = false;
std::mutex FixItsMutex;
- typedef std::map<clangd::Diagnostic, std::vector<TextEdit>>
+ typedef std::map<clangd::Diagnostic, std::vector<TextEdit>,
+ LSPDiagnosticCompare>
DiagnosticToReplacementMap;
/// Caches FixIts per file and diagnostics
llvm::StringMap<DiagnosticToReplacementMap> FixItsMap;