mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Reorder some IPC members
This commit is contained in:
parent
7a81a5dbc5
commit
e44109aee9
@ -87,13 +87,13 @@ const char* IpcIdToString(IpcId id) {
|
||||
case IpcId::CqueryRandom:
|
||||
return "$cquery/random";
|
||||
|
||||
case IpcId::Unknown:
|
||||
return "$unknown";
|
||||
|
||||
case IpcId::CqueryIndexFile:
|
||||
return "$cquery/indexFile";
|
||||
case IpcId::CqueryWait:
|
||||
return "$cquery/wait";
|
||||
|
||||
case IpcId::Unknown:
|
||||
return "$unknown";
|
||||
}
|
||||
|
||||
CQUERY_UNREACHABLE("missing IpcId string name");
|
||||
|
@ -58,13 +58,12 @@ enum class IpcId : int {
|
||||
CqueryDerived, // Show all derived types/methods.
|
||||
CqueryRandom, // Show random definition.
|
||||
|
||||
// Messages for testing.
|
||||
CqueryIndexFile, // Index the given file contents.
|
||||
CqueryWait, // Wait until all cquery threads are idle.
|
||||
|
||||
// Internal implementation detail.
|
||||
Unknown,
|
||||
|
||||
// Index the given file contents. Used in tests.
|
||||
CqueryIndexFile,
|
||||
// Wait until all cquery threads are idle. Used in tests.
|
||||
CqueryWait,
|
||||
};
|
||||
MAKE_ENUM_HASHABLE(IpcId)
|
||||
MAKE_REFLECT_TYPE_PROXY(IpcId)
|
||||
|
Loading…
Reference in New Issue
Block a user