mirror of
https://github.com/google/leveldb.git
synced 2026-08-22 10:53:27 +08:00
Format all files IAW the Google C++ Style Guide.
Use clang-format to correct formatting to be in agreement with the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html). Doing this simplifies the process of accepting changes. Also fixed a few warnings flagged by clang-tidy. PiperOrigin-RevId: 246350737
This commit is contained in:
committed by
Victor Costan
parent
3724030179
commit
297e66afc1
@@ -28,7 +28,7 @@ constexpr const uint64_t kGoldenB = 0xaabbccddeeffaabb;
|
||||
|
||||
} // namespace
|
||||
|
||||
class NoDestructorTest { };
|
||||
class NoDestructorTest {};
|
||||
|
||||
TEST(NoDestructorTest, StackInstance) {
|
||||
NoDestructor<DoNotDestruct> instance(kGoldenA, kGoldenB);
|
||||
@@ -44,6 +44,4 @@ TEST(NoDestructorTest, StaticInstance) {
|
||||
|
||||
} // namespace leveldb
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
return leveldb::test::RunAllTests();
|
||||
}
|
||||
int main(int argc, char** argv) { return leveldb::test::RunAllTests(); }
|
||||
|
||||
Reference in New Issue
Block a user