[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

@ -39,7 +39,7 @@ uint8_t* encode_varint32(uint8_t* dst, uint32_t v) {
}
const uint8_t* decode_varint32_ptr_fallback(const uint8_t* p, const uint8_t* limit,
uint32_t* value) {
uint32_t* value) {
uint32_t result = 0;
for (uint32_t shift = 0; shift <= 28 && p < limit; shift += 7) {
uint32_t byte = *p;
@ -73,4 +73,4 @@ const uint8_t* decode_varint64_ptr(const uint8_t* p, const uint8_t* limit, uint6
return nullptr;
}
}
} // namespace doris