mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
Clean serializer
This commit is contained in:
parent
57ea5f7cb9
commit
490f52205f
@ -123,12 +123,6 @@ void Reflect(Writer& visitor, std::string_view& data) {
|
||||
}
|
||||
|
||||
|
||||
// ReflectMember
|
||||
void ReflectMember(Writer& visitor, const char* name, std::string& value) {
|
||||
visitor.Key(name);
|
||||
Reflect(visitor, value);
|
||||
}
|
||||
|
||||
// TODO: Move this to indexer.cc
|
||||
void Reflect(Reader& visitor, IndexInclude& value) {
|
||||
REFLECT_MEMBER_START();
|
||||
@ -190,10 +184,6 @@ void ReflectShortName(Writer& visitor, Def& def) {
|
||||
}
|
||||
}
|
||||
|
||||
template <typename Def>
|
||||
void ReflectShortName(MessagePackWriter& visitor, Def& def) {
|
||||
}
|
||||
|
||||
template <typename TVisitor>
|
||||
void Reflect(TVisitor& visitor, IndexType& value) {
|
||||
REFLECT_MEMBER_START();
|
||||
|
@ -339,8 +339,6 @@ void ReflectMember(Writer& visitor, const char* name, T& value) {
|
||||
Reflect(visitor, value);
|
||||
}
|
||||
|
||||
void ReflectMember(Writer& visitor, const char* name, std::string& value);
|
||||
|
||||
// API
|
||||
|
||||
std::string Serialize(SerializeFormat format, IndexFile& file);
|
||||
|
Loading…
Reference in New Issue
Block a user