#
42a44c28 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
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 forma
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: I09e19a126d456dc184fd70e82d4e4e4217fa8ee7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
c893f43d |
| 24-Oct-2020 |
Jason Ling <jasonling@google.com> |
make building handlers from json more generic
Problem: version-handler, a new feature that will be added to this repository will also parse json files from the same directory ipmi-flash does. Curren
make building handlers from json more generic
Problem: version-handler, a new feature that will be added to this repository will also parse json files from the same directory ipmi-flash does. Currently buildjson is a mix of some code that can be reused and other code that is pretty specific to firmware updates; this makes it hard to reuse the code.
Solution: factor out the generic parts and place it in bmc and then leave the specific parts in firmware-handler. Also code changes have been made to buildjson: wrap functions in a templated class that leaves feature specific parsing as a pure virtual method.
Tested: Ran the unit tests, which do test the parsing functionality.
Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: I021dc829a82d1719b4cb862cdfb224eca629a44d
show more ...
|