mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-26 23:21:11 +00:00
[clangd] Fix a build error for f4f6c229bd
This commit is contained in:
parent
0c055286b2
commit
21558c83db
@ -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 Range;
|
||||
clangd::Range Rng;
|
||||
std::string Message;
|
||||
bool operator<(const DiagKey &Other) const {
|
||||
return std::tie(Range, Message) < std::tie(Other.Range, Other.Message);
|
||||
return std::tie(Rng, Message) < std::tie(Other.Rng, Other.Message);
|
||||
}
|
||||
};
|
||||
DiagKey toDiagKey(const clangd::Diagnostic &LSPDiag) {
|
||||
|
Loading…
Reference in New Issue
Block a user