mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-27 18:11:57 +00:00
17 lines
355 B
C++
17 lines
355 B
C++
#include "lsp_diagnostic.h"
|
|
|
|
#include "match.h"
|
|
#include "working_files.h"
|
|
|
|
class DiagnosticsEngine {
|
|
std::unique_ptr<GroupMatch> match_;
|
|
int64_t nextPublish_ = 0;
|
|
int frequencyMs_;
|
|
|
|
public:
|
|
void Init(Config*);
|
|
void Publish(WorkingFiles* working_files,
|
|
std::string path,
|
|
std::vector<lsDiagnostic> diagnostics);
|
|
};
|