[CodeFormat] Clang-format cpp sources (#4965)

Clang-format all c++ source files.
This commit is contained in:
sduzh
2020-11-28 18:36:49 +08:00
committed by GitHub
parent f944bf4d44
commit 6fedf5881b
1331 changed files with 62548 additions and 68514 deletions

View File

@ -21,12 +21,11 @@
namespace doris {
template<typename TraitsType>
template <typename TraitsType>
KeyCoder::KeyCoder(TraitsType traits)
: _full_encode_ascending(traits.full_encode_ascending),
_encode_ascending(traits.encode_ascending),
_decode_ascending(traits.decode_ascending) {
}
_decode_ascending(traits.decode_ascending) {}
struct EnumClassHash {
template <typename T>
@ -75,7 +74,7 @@ private:
add_mapping<OLAP_FIELD_TYPE_BOOL>();
}
template<FieldType field_type>
template <FieldType field_type>
void add_mapping() {
_coder_map.emplace(field_type, new KeyCoder(KeyCoderTraits<field_type>()));
}
@ -87,4 +86,4 @@ const KeyCoder* get_key_coder(FieldType type) {
return KeyCoderResolver::instance()->get_coder(type);
}
}
} // namespace doris