leveldb/port
Chris Mumford 297e66afc1 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
2019-05-02 19:04:50 -07:00
..
port_config.h.in leveldb: Fix PosixWritableFile::Sync() on Apple systems. 2019-01-09 14:58:22 -08:00
port_example.h leveldb: Replace AtomicPointer with std::atomic. 2019-03-11 13:41:25 -07:00
port_stdcxx.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
port.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
README Replace port_posix with port_stdcxx. 2018-04-17 13:26:47 -07:00
thread_annotations.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00

This directory contains interfaces and implementations that isolate the
rest of the package from platform details.

Code in the rest of the package includes "port.h" from this directory.
"port.h" in turn includes a platform specific "port_<platform>.h" file
that provides the platform specific implementation.

See port_stdcxx.h for an example of what must be provided in a platform
specific header file.