clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version.  The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I98f262c24e427f4228b184715d7ad88b0d7060f6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
5 files changed
tree: 8dbc20ac0a85a2685c4ced3b775666caa3a730d3
  1. scripts/
  2. subprojects/
  3. .clang-format
  4. .gitignore
  5. fru_area.cpp
  6. fru_area.hpp
  7. frup.cpp
  8. frup.hpp
  9. LICENSE
  10. meson.build
  11. meson.options
  12. OWNERS
  13. readeeprom.cpp
  14. README.md
  15. strgfnhandler.cpp
  16. types.hpp
  17. writefrudata.cpp
  18. writefrudata.hpp
README.md

ipmi-fru-parser

Building

To build this package, do the following steps:

meson setup builddir
ninja -C builddir