#
48781aef |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: If66f68c96df4baf8dc07abf8729a3cb7657e932d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
0c9a33d6 |
| 13-Sep-2021 |
Adriana Kobylak <anoo@us.ibm.com> |
clang updates The openbmc CI was recently updated to clang-12 which requires some formatting updates to the code: https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daae
clang updates The openbmc CI was recently updated to clang-12 which requires some formatting updates to the code: https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be0482426908bb5497fad08 Make those updates and refresh the clang-format file with the one from docs: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Change-Id: Ieb3626526373a053ec84431e7560003f229f338d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
9462e066 |
| 15-Sep-2020 |
Shawn McCarney <shawnmm@us.ibm.com> |
FileDescriptor: Add move and close methods Made the following enhancements to the FileDescriptor class: * Moved header file from file.hpp to file_descriptor.hpp to match naming con
FileDescriptor: Add move and close methods Made the following enhancements to the FileDescriptor class: * Moved header file from file.hpp to file_descriptor.hpp to match naming convention used in other files. * Added move constructor and move assignment operator so FileDescriptor objects can be put in containers like std::vector. * Added close() method so users of class can optionally close the descriptor explicitly and check the return code for errors. If not explicitly closed, the descriptor will still be closed by the destructor which ignores errors. * Added automated tests * Added doxygen comments Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I1e05bbb232443ed1a79728768aaaa1efac8707ec
show more ...
|