Run clang-format against cpp (#4358)

This commit is contained in:
Eisuke Kawashima
2021-10-20 11:25:27 +09:00
committed by GitHub
parent 9243404f3d
commit 11532089de
200 changed files with 2806 additions and 2916 deletions

View File

@@ -22,7 +22,7 @@ int main(int argc, char **argv) {
std::ifstream in(argv[i]);
in.seekg(0, in.end);
size_t length = in.tellg();
in.seekg (0, in.beg);
in.seekg(0, in.beg);
std::cout << "Reading " << length << " bytes from " << argv[i] << std::endl;
// Allocate exactly length bytes so that we reliably catch buffer overflows.
std::vector<char> bytes(length);