projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c05528
)
[clangd] Fix a build error for f4f6c229bde8f42721482469bd5a3d050d254d82
author
Haojian Wu
<hokein.wu@gmail.com>
Tue, 18 Jul 2023 17:19:03 +0000
(19:19 +0200)
committer
Haojian Wu
<hokein.wu@gmail.com>
Tue, 18 Jul 2023 17:20:06 +0000
(19:20 +0200)
clang-tools-extra/clangd/ClangdLSPServer.h
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/ClangdLSPServer.h
b/clang-tools-extra/clangd/ClangdLSPServer.h
index
a52e970
..
79579c2
100644
(file)
--- a/
clang-tools-extra/clangd/ClangdLSPServer.h
+++ b/
clang-tools-extra/clangd/ClangdLSPServer.h
@@
-237,10
+237,10
@@
private:
// emit them via the LSP's data field (which was newly added in LSP 3.16).
std::mutex DiagRefMutex;
struct DiagKey {
- clangd::Range R
ange
;
+ clangd::Range R
ng
;
std::string Message;
bool operator<(const DiagKey &Other) const {
- return std::tie(R
ange, Message) < std::tie(Other.Range
, Other.Message);
+ return std::tie(R
ng, Message) < std::tie(Other.Rng
, Other.Message);
}
};
DiagKey toDiagKey(const clangd::Diagnostic &LSPDiag) {