mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-01 02:10:26 +00:00
17 lines
348 B
C++
17 lines
348 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();
|
|
void Publish(WorkingFiles* working_files,
|
|
std::string path,
|
|
std::vector<lsDiagnostic> diagnostics);
|
|
};
|