#
f5402197 |
| 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: I7b90380845efee6bf6a1fe342a793d71aa9ff181 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/4569bf49daaebff06be048242690
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 ...
|
#
9fc08e73 |
| 07-Nov-2019 |
Shawn McCarney <shawnmm@us.ibm.com> |
Enhance regulators Rule class
Enhance the regulators Rule class by adding a vector of actions and an execute() method.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I09300b7345110fb
Enhance regulators Rule class
Enhance the regulators Rule class by adding a vector of actions and an execute() method.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I09300b7345110fbce8b3a794c8f77a8d234ff538
show more ...
|
#
ea7385b8 |
| 07-Nov-2019 |
Shawn McCarney <shawnmm@us.ibm.com> |
Use C++17 format for nested namespace definitions
Use the new C++17 format for defining nested namespaces in the phosphor-regulators application.
The definition namespace A::B::C { ... }
i
Use C++17 format for nested namespace definitions
Use the new C++17 format for defining nested namespaces in the phosphor-regulators application.
The definition namespace A::B::C { ... }
is now equivalent to namespace A { namespace B { namespace C { ... } } }
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I284055bc94578a45d04d3561f511c0e347a8ecef
show more ...
|
#
36d8b7d5 |
| 28-Oct-2019 |
Shawn McCarney <shawnmm@us.ibm.com> |
Add explicit keyword to regulator constructors
Add the 'explicit' keyword to regulator constructors. This prevents automatic, unintended type promotions from occurring.
Signed-off-by: Shawn McCarn
Add explicit keyword to regulator constructors
Add the 'explicit' keyword to regulator constructors. This prevents automatic, unintended type promotions from occurring.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Ice9983093114192c33d083b58cf85247d29792a8
show more ...
|
#
4afb285e |
| 27-Oct-2019 |
Shawn McCarney <shawnmm@us.ibm.com> |
Conform regulator methods to acronym conventions
Change regulator class methods to conform to OpenBMC capitalization conventions for acronyms.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Cha
Conform regulator methods to acronym conventions
Change regulator class methods to conform to OpenBMC capitalization conventions for acronyms.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I1eb5202685796cbc2d45cb6368ee4dbd4706e504
show more ...
|
#
a2461b34 |
| 24-Oct-2019 |
Shawn McCarney <shawnmm@us.ibm.com> |
Create stubs for regulator Device, Rail, and Rule
Create stub versions of the Device, Rail, and Rule classes for the phosphor-regulators application. Having a stub version of these classes is a pre
Create stubs for regulator Device, Rail, and Rule
Create stub versions of the Device, Rail, and Rule classes for the phosphor-regulators application. Having a stub version of these classes is a pre-requisite for implementing the action framework.
Also updated the top level meson.build file to build the phosphor-regulators directory. Created new meson.build files for several phosphor-regulators sub-directories.
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I50b018db744191acd1e473652019906a8506745f
show more ...
|