mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-19 12:05:50 +00:00
Fix clang 3.8 build
This commit is contained in:
parent
ae40bfa208
commit
0e4148518a
@ -22,6 +22,7 @@ void Reflect(Writer& visitor, lsCodeLensCommandArguments& value) {
|
|||||||
Reflect(visitor, value.locations);
|
Reflect(visitor, value.locations);
|
||||||
visitor.EndArray();
|
visitor.EndArray();
|
||||||
}
|
}
|
||||||
|
#if false
|
||||||
void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) {
|
void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) {
|
||||||
auto it = visitor.Begin();
|
auto it = visitor.Begin();
|
||||||
Reflect(*it, value.uri);
|
Reflect(*it, value.uri);
|
||||||
@ -30,6 +31,7 @@ void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) {
|
|||||||
++it;
|
++it;
|
||||||
Reflect(*it, value.locations);
|
Reflect(*it, value.locations);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
using TCodeLens = lsCodeLens<lsCodeLensUserData, lsCodeLensCommandArguments>;
|
using TCodeLens = lsCodeLens<lsCodeLensUserData, lsCodeLensCommandArguments>;
|
||||||
struct Ipc_TextDocumentCodeLens : public IpcMessage<Ipc_TextDocumentCodeLens> {
|
struct Ipc_TextDocumentCodeLens : public IpcMessage<Ipc_TextDocumentCodeLens> {
|
||||||
|
Loading…
Reference in New Issue
Block a user