nixd
|
#include <Protocol.h>
Public Member Functions | |
bool | operator() (const Diagnostic &LHS, const Diagnostic &RHS) const |
A LSP-specific comparator used to find diagnostic in a container like std:map. We only use the required fields of Diagnostic to do the comparison to avoid any regression issues from LSP clients (e.g. VScode), see https://git.io/vbr29
Definition at line 944 of file lspserver/include/lspserver/Protocol.h.
|
inline |
Definition at line 945 of file lspserver/include/lspserver/Protocol.h.
References lspserver::Diagnostic::message, and lspserver::Diagnostic::range.