History log of /openbmc/docs/style/ (Results 1 – 19 of 19)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a69289a904-Jun-2024 Patrick Williams <patrick@stwcx.xyz>

style: cpp: update for clang-format-18

clang-format-18 changed the behavior for lambda formatting,
and by adjusting the penalties we think we can get a more
consistent formatting with a more natural

style: cpp: update for clang-format-18

clang-format-18 changed the behavior for lambda formatting,
and by adjusting the penalties we think we can get a more
consistent formatting with a more natural indentation of lambdas.
Making these adjustments and will be reformatting all repositories
accordingly with clang-18.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5e08687e696dd240402a2780158664b7113def0e

show more ...

5ae4815828-Sep-2023 Alexander Hansen <alexander.hansen@9elements.com>

clang-tidy: propose a base .clang-tidy

When there is a specific recommendation, it is taken from Cpp Core
guidelines [1] or clang-tidy defaults.

- readability-function-size.LineThreshold
was chos

clang-tidy: propose a base .clang-tidy

When there is a specific recommendation, it is taken from Cpp Core
guidelines [1] or clang-tidy defaults.

- readability-function-size.LineThreshold
was chosen to support
[ F.3 Keep functions short and simple ]

They recommend 60 lines to flag functions which would not fit on a
screen.

- readability-function-size.ParameterThreshold
was chosen to support
[ F.2: A function should perform a single logical operation ]

They recommend to be suspicious of functions with 7 or more
parameters.

- readability-function-cognitive-complexity.Threshold
was chosen to support
[ F.3: Keep functions short and simple ]

They recommend a cyclomatic complexity of 10 or less.
However, cyclomatic complexity is not implemented in clang-tidy,
therefore going with the clang-tidy default.

What is the goal of this change?

- making it easier for people to read the code.

- making it easier to perform refactorings without breaking stuff

- making it easier to review changes

Who will be responsible for making the required changes?

- Everyone who is interested. The plan is to atleast get some of the
most important pieces into a more readable state. Examples are
dbus-sensors, entity-manager, x86-power-control.

- The plan is to enable some of these checks as errors once a repo
comes into compliance. After that, contributors will be responsible
to ensure their changes meet these checks.

Tradeoffs:

- There might be more code overall, as functions will be smaller.
- People might be required to do another (refactoring) iteration on
their changes if some of these checks become hard errors.
- Refactoring code to meet these checks might introduce bugs.

[1] https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

Change-Id: Icbdd55d2f672037a57d8ed08d52b20427e9e1e4f
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>

show more ...

e1a2714719-Oct-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: refresh settings from clang-17 docs

With later versions of clang, a number of settings we had previously
are either deprecated or replaced from a simple boolean to an
enumeration value

clang-format: refresh settings from clang-17 docs

With later versions of clang, a number of settings we had previously
are either deprecated or replaced from a simple boolean to an
enumeration value. Update them to reflect the intent.

Update a few settings based on new options available in clang-17
to minimize formatting churn.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia0d5d3f9a48c60ab0f233166cfa481758d10491f

show more ...

dc24b2ec10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: add IndentExternBlock setting

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7cb11f19333775f3912f98a3a8bfd6559601fabc

d1d05ee612-May-2023 Andrew Jeffery <andrew@aj.id.au>

style: Add clang-format file for C code

This is based on libmctp and obmc-console's .clang-format with updates
for clang-16.

Change-Id: I56535f1289fec55c3ce2b8c98ccc7e4904a62b75
Signed-off-by: Andr

style: Add clang-format file for C code

This is based on libmctp and obmc-console's .clang-format with updates
for clang-16.

Change-Id: I56535f1289fec55c3ce2b8c98ccc7e4904a62b75
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...

231ad0cd13-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: add clang-format-16 options

Some options are added and/or changed in clang-format-16. Attempt to
define ones that cause the most churn in the codebase if left unset.

Signed-off-by: P

clang-format: add clang-format-16 options

Some options are added and/or changed in clang-format-16. Attempt to
define ones that cause the most churn in the codebase if left unset.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I80217b5f8efeb4d5eeae3071149e6cfbe72f8046

show more ...

2231939507-Feb-2023 Andrew Jeffery <andrew@aj.id.au>

clang-format: Specify lambda formatting

Do so in accordance with existing community practice:

1. https://github.com/openbmc/bmcweb/blob/5b5574ace856c7f787528ab8f5e5352a90f2a6cb/.clang-format#L84
2.

clang-format: Specify lambda formatting

Do so in accordance with existing community practice:

1. https://github.com/openbmc/bmcweb/blob/5b5574ace856c7f787528ab8f5e5352a90f2a6cb/.clang-format#L84
2. https://github.com/openbmc/dbus-sensors/blob/6747eba5e06ce8f7b407193410aa7d04eb5b833c/.clang-format#L53

Change-Id: Ic89424f510578622c1ac5627e28b0293e4da7e07
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


/openbmc/docs/CONTRIBUTING.md
/openbmc/docs/IPMITOOL-cheatsheet.md
/openbmc/docs/OWNERS
/openbmc/docs/README.md
/openbmc/docs/REDFISH-cheatsheet.md
/openbmc/docs/REST-cheatsheet.md
/openbmc/docs/SECURITY.md
/openbmc/docs/anti-patterns.md
/openbmc/docs/architecture/LED-architecture.md
/openbmc/docs/architecture/code-update/code-update-deprecated.md
/openbmc/docs/architecture/code-update/code-update-diagrams.md
/openbmc/docs/architecture/code-update/code-update.md
/openbmc/docs/architecture/code-update/emmc-storage-design.md
/openbmc/docs/architecture/code-update/firmware-update-over-redfish.md
/openbmc/docs/architecture/code-update/flash-layout.md
/openbmc/docs/architecture/code-update/host-code-update.md
/openbmc/docs/architecture/interface-overview.md
/openbmc/docs/architecture/ipmi-architecture.md
/openbmc/docs/architecture/object-mapper.md
/openbmc/docs/architecture/openbmc-systemd.md
/openbmc/docs/architecture/redfish-logging-in-bmcweb.md
/openbmc/docs/architecture/sensor-architecture.md
/openbmc/docs/architecture/user-management.md
/openbmc/docs/cheatsheet.md
/openbmc/docs/code-of-conduct.md
/openbmc/docs/console.md
/openbmc/docs/cpp-style-and-conventions.md
/openbmc/docs/designs/README.md
/openbmc/docs/designs/binarystore-via-blobs.md
/openbmc/docs/designs/bios-bmc-smm-error-logging.md
/openbmc/docs/designs/bmc-boot-ready.md
/openbmc/docs/designs/bmc-health-monitor.md
/openbmc/docs/designs/bmc-reset-with-host-up.md
/openbmc/docs/designs/bmc-service-failure-debug-and-recovery.md
/openbmc/docs/designs/boot-progress.md
/openbmc/docs/designs/certificate-revocation-list.md
/openbmc/docs/designs/ci-authorization.md
/openbmc/docs/designs/design-template.md
/openbmc/docs/designs/device-tree-gpio-naming.md
/openbmc/docs/designs/dump-manager.md
/openbmc/docs/designs/ecc-dbus-sel.md
/openbmc/docs/designs/error-log-handling-for-phal.md
/openbmc/docs/designs/estoraged.md
/openbmc/docs/designs/expired-password.md
/openbmc/docs/designs/external-sensor.md
/openbmc/docs/designs/fail-boot-on-hw-error.md
/openbmc/docs/designs/firmware-update-via-blobs.md
/openbmc/docs/designs/firmware-update-via-usb.md
/openbmc/docs/designs/gpio-based-cable-presence.md
/openbmc/docs/designs/guard-on-bmc.md
/openbmc/docs/designs/hw-fault-monitor.md
/openbmc/docs/designs/management-console/Authorities_List_Management.md
/openbmc/docs/designs/management-console/VMI_Certificate_Exchange.md
/openbmc/docs/designs/management-console/service-discovery.md
/openbmc/docs/designs/mctp/mctp-kernel.md
/openbmc/docs/designs/mctp/mctp-userspace.md
/openbmc/docs/designs/mctp/mctp.md
/openbmc/docs/designs/multi-host-postcode.md
/openbmc/docs/designs/multihost-ipmi-design.md
/openbmc/docs/designs/multihost-phosphor-buttons.md
/openbmc/docs/designs/nmi-dbus-interface.md
/openbmc/docs/designs/nvmemi-over-smbus.md
/openbmc/docs/designs/oem/google/root_of_trust.md
/openbmc/docs/designs/oem/ibm/OWNERS
/openbmc/docs/designs/oem/ibm/system-power-mode.md
/openbmc/docs/designs/phosphor-audit.md
/openbmc/docs/designs/phosphor-hwmon-io-uring.md
/openbmc/docs/designs/phosphor-hwmon-refactoring.md
/openbmc/docs/designs/physical-topology.md
/openbmc/docs/designs/pldm-stack.md
/openbmc/docs/designs/power-recovery.md
/openbmc/docs/designs/power-systems-memory-preserving-reboot.md
/openbmc/docs/designs/psu-firmware-update.md
/openbmc/docs/designs/psu-monitoring.md
/openbmc/docs/designs/redfish-authorization.md
/openbmc/docs/designs/redfish-eventservice.md
/openbmc/docs/designs/redfish-health-rolllup.md
/openbmc/docs/designs/redfish-pcie.md
/openbmc/docs/designs/redfish-postcodes.md
/openbmc/docs/designs/redfish-resource-supplement-for-pfr.md
/openbmc/docs/designs/redfish-tls-user-authentication.md
/openbmc/docs/designs/remote-bios-configuration.md
/openbmc/docs/designs/state-management-and-external-interfaces.md
/openbmc/docs/designs/target-fail-monitoring.md
/openbmc/docs/designs/telemetry.md
/openbmc/docs/designs/thermal-control-modes.md
/openbmc/docs/designs/unique-hostname.md
/openbmc/docs/designs/virtual-media.md
/openbmc/docs/designs/virtual-sensors.md
/openbmc/docs/designs/voltage-regulator-configuration.md
/openbmc/docs/designs/vpd-collection.md
/openbmc/docs/development/README.md
/openbmc/docs/development/add-new-system.md
/openbmc/docs/development/dev-environment.md
/openbmc/docs/development/gerrit-setup.md
/openbmc/docs/development/sdk-hello-world.md
/openbmc/docs/development/web-ui.md
/openbmc/docs/features.md
/openbmc/docs/glossary.md
/openbmc/docs/host-management.md
/openbmc/docs/kernel-development.md
/openbmc/docs/maintainer-workflow.md
/openbmc/docs/meta-layer-guidelines.md
/openbmc/docs/openbmc-conversion.md
/openbmc/docs/process/subproject-maintainership.md
/openbmc/docs/release/metrics/2022-07
/openbmc/docs/release/metrics/2022-08
/openbmc/docs/release/metrics/2022-09
/openbmc/docs/release/metrics/2022-10
/openbmc/docs/release/metrics/2022-11
/openbmc/docs/release/metrics/2022-12
/openbmc/docs/release/release-notes.md
/openbmc/docs/release/release-process.md
/openbmc/docs/rest-api.md
/openbmc/docs/security/TLS-configuration.md
/openbmc/docs/security/how-to-report-a-security-vulnerability.md
/openbmc/docs/security/network-security-considerations.md
/openbmc/docs/security/obmc-github-security-advisory-template.md
/openbmc/docs/security/obmc-security-response-team-guidelines.md
/openbmc/docs/security/obmc-security-response-team.md
cpp/.clang-format
/openbmc/docs/subtree.md
/openbmc/docs/testing/local-ci-build.md
/openbmc/docs/testing/run-test-docker.md
/openbmc/docs/tof/contract.md
/openbmc/docs/tof/membership-and-voting.md
/openbmc/docs/yocto-development.md
0613628529-Sep-2022 Patrick Williams <patrick@stwcx.xyz>

clang-format: use options for C++20 requires

clang-15 adds options to format C++20 Concepts `requires`
statements. Set them now so we have consistency in any code
which starts to use C++20 Concepts

clang-format: use options for C++20 requires

clang-15 adds options to format C++20 Concepts `requires`
statements. Set them now so we have consistency in any code
which starts to use C++20 Concepts.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If75f8ebdf46855423a4ffb1dba598e9c61d9a462

show more ...

c742fe8629-Sep-2022 Patrick Williams <patrick@stwcx.xyz>

clang-format: tweak alignment settings

We already use 'PointerAlignment: Left'. clang-13 and clang-14 added
'QualifierAlignment' and 'ReferenceAlignment' options. Set those to
left similarly.

Qua

clang-format: tweak alignment settings

We already use 'PointerAlignment: Left'. clang-13 and clang-14 added
'QualifierAlignment' and 'ReferenceAlignment' options. Set those to
left similarly.

QualifierAlignment sets:
* `const int` - right
* `int const` - wrong

ReferenceAlignment sets:
* `int& foo` - right
* `int &foo` - wrong

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I17f2457b10682513ed5d824ce8c506dee833a744

show more ...

ba68be6a29-Sep-2022 Patrick Williams <patrick@stwcx.xyz>

clang-format: tweak penalty values

clang-format-15 seems to end up with a slightly different whitespace
break than clang-format-14 did. Tweak the PenaltyBreakAssignment
to favor not breaking as oft

clang-format: tweak penalty values

clang-format-15 seems to end up with a slightly different whitespace
break than clang-format-14 did. Tweak the PenaltyBreakAssignment
to favor not breaking as often, which allows the two to be more
consistent.

This is already applied to sdbusplus as
I49826e2011bce317b6b82dc985ddd35fa6eef2cb.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I455cc4bf29097e3d0462a7c1b667d21e382af104

show more ...

3547af1f26-Aug-2022 Patrick Williams <patrick@stwcx.xyz>

clang-format: allow some empty blocks on single line

Enable AllowShortBLocksOnASingleLine and
AllowShortFunctionsOnASingleLine as 'Empty' instead of 'false'. This
allows the code to be slightly mor

clang-format: allow some empty blocks on single line

Enable AllowShortBLocksOnASingleLine and
AllowShortFunctionsOnASingleLine as 'Empty' instead of 'false'. This
allows the code to be slightly more compact in the already readable
case of an empty block. In sdbusplus this yields some minor
simplifications such as:

```
- compose(bus_t&, const char*)
- {}
+ compose(bus_t&, const char*) {}
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39423dc80c057674e16d23389f4e4d88aae80e6f

show more ...

ac5d544516-May-2022 Brad Bishop <bradleyb@fuzziesquirrel.com>

clang-format: cpp: remove empty lines

This seems to be how most people code anyway (no metrics gathered just
my anecdotal observation), and with the setting in the other state,
whether or not extra

clang-format: cpp: remove empty lines

This seems to be how most people code anyway (no metrics gathered just
my anecdotal observation), and with the setting in the other state,
whether or not extra lines are allowed appears ambiguous and can result
in comments and questions in review. Take the hard-line to make it
explicit to avoid comments during review.

Change-Id: Icb75b3e11b5209a19c3ef6e92cf42d84a060af98
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


/openbmc/docs/CONTRIBUTING.md
/openbmc/docs/OWNERS
/openbmc/docs/REDFISH-cheatsheet.md
/openbmc/docs/SECURITY.md
/openbmc/docs/anti-patterns.md
/openbmc/docs/architecture/code-update/emmc-storage-design.md
/openbmc/docs/architecture/code-update/firmware-update-over-redfish.md
/openbmc/docs/architecture/sensor-architecture.md
/openbmc/docs/cpp-style-and-conventions.md
/openbmc/docs/designs/README.md
/openbmc/docs/designs/binarystore-via-blobs.md
/openbmc/docs/designs/bmc-health-monitor.md
/openbmc/docs/designs/bmc-reset-with-host-up.md
/openbmc/docs/designs/bmc-service-failure-debug-and-recovery.md
/openbmc/docs/designs/boot-progress.md
/openbmc/docs/designs/certificate-revocation-list.md
/openbmc/docs/designs/ci-authorization.md
/openbmc/docs/designs/design-template.md
/openbmc/docs/designs/device-tree-gpio-naming.md
/openbmc/docs/designs/dump-manager.md
/openbmc/docs/designs/ecc-dbus-sel.md
/openbmc/docs/designs/error-log-handling-for-phal.md
/openbmc/docs/designs/estoraged.md
/openbmc/docs/designs/expired-password.md
/openbmc/docs/designs/external-sensor.md
/openbmc/docs/designs/fail-boot-on-hw-error.md
/openbmc/docs/designs/firmware-update-via-blobs.md
/openbmc/docs/designs/firmware-update-via-usb.md
/openbmc/docs/designs/gpio-based-cable-presence.md
/openbmc/docs/designs/hw-fault-monitor.md
/openbmc/docs/designs/ibm/system-power-mode.md
/openbmc/docs/designs/management-console/Authorities_List_Management.md
/openbmc/docs/designs/management-console/VMI_Certificate_Exchange.md
/openbmc/docs/designs/management-console/service-discovery.md
/openbmc/docs/designs/mctp/mctp.md
/openbmc/docs/designs/multihost-ipmi-design.md
/openbmc/docs/designs/multihost-phosphor-buttons.md
/openbmc/docs/designs/nmi-dbus-interface.md
/openbmc/docs/designs/nvmemi-over-smbus.md
/openbmc/docs/designs/oem/google/root_of_trust.md
/openbmc/docs/designs/phosphor-audit.md
/openbmc/docs/designs/phosphor-hwmon-io-uring.md
/openbmc/docs/designs/pldm-stack.md
/openbmc/docs/designs/power-recovery.md
/openbmc/docs/designs/power-systems-memory-preserving-reboot.md
/openbmc/docs/designs/psu-firmware-update.md
/openbmc/docs/designs/psu-monitoring.md
/openbmc/docs/designs/redfish-eventservice.md
/openbmc/docs/designs/redfish-health-rolllup.md
/openbmc/docs/designs/redfish-pcie.md
/openbmc/docs/designs/redfish-postcodes.md
/openbmc/docs/designs/redfish-resource-supplement-for-pfr.md
/openbmc/docs/designs/redfish-tls-user-authentication.md
/openbmc/docs/designs/remote-bios-configuration.md
/openbmc/docs/designs/state-management-and-external-interfaces.md
/openbmc/docs/designs/target-fail-monitoring.md
/openbmc/docs/designs/telemetry.md
/openbmc/docs/designs/thermal-control-modes.md
/openbmc/docs/designs/unique-hostname.md
/openbmc/docs/designs/virtual-media.md
/openbmc/docs/designs/virtual-sensors.md
/openbmc/docs/designs/voltage-regulator-configuration.md
/openbmc/docs/designs/vpd-collection.md
/openbmc/docs/development/README.md
/openbmc/docs/development/add-new-system.md
/openbmc/docs/development/gerrit-setup.md
/openbmc/docs/meta-layer-guidelines.md
/openbmc/docs/release/metrics/2021-10
/openbmc/docs/release/metrics/2021-11
/openbmc/docs/release/metrics/2021-12
/openbmc/docs/release/metrics/2022-01
/openbmc/docs/release/metrics/2022-02
/openbmc/docs/release/metrics/2022-03
/openbmc/docs/security/TLS-configuration.md
cpp/.clang-format
/openbmc/docs/tof/contract.md
/openbmc/docs/tof/membership-and-voting.md
2f52b0a310-Nov-2021 Patrick Williams <patrick@stwcx.xyz>

clang-format: force unix newlines

In order to help avoid dos-style newlines from being introduced to the
codebase, force the clang-format style to use unix-style newlines.

`DeriveLineEnding: fals

clang-format: force unix newlines

In order to help avoid dos-style newlines from being introduced to the
codebase, force the clang-format style to use unix-style newlines.

`DeriveLineEnding: false`:
- This disables automatic newline style detection by clang-format.

`UseCRLF: false`:
- Since detection is disabled, this enforces unix-style (LF).

Also, add a remark in the cpp-style document to codify the expectation
that unix-style newlines are used.

Tested: Apply changes to sdbusplus, run 'unix2dos' on a source file, and
confirm file is reverted to unix-style with 'clang-format'.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie8f0cd956a3c52cd14891c06a0b61507f5829aaf

show more ...

a021c6c016-Sep-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

eslint config/style file for json validation

Check-in the global eslint json validator configuration
file. This configuration enables eslint plugins that
supports comments in json files during valid

eslint config/style file for json validation

Check-in the global eslint json validator configuration
file. This configuration enables eslint plugins that
supports comments in json files during validation in CI.

This can be improved in future, for javascript files & json
formatting.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I22c265695a28cba150cb10691c0914152356d401

show more ...

9e5bbd0c05-Aug-2021 Andrew Jeffery <andrew@aj.id.au>

style/cpp: Don't break long string literals

Exploiting string literal concatonation makes it harder to grep for log
messages in the source.

Change-Id: If5777adc5824560c4f6694399a1c11067c7b3999
Sign

style/cpp: Don't break long string literals

Exploiting string literal concatonation makes it harder to grep for log
messages in the source.

Change-Id: If5777adc5824560c4f6694399a1c11067c7b3999
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

show more ...


/openbmc/docs/CONTRIBUTING.md
/openbmc/docs/IPMITOOL-cheatsheet.md
/openbmc/docs/MAINTAINERS
/openbmc/docs/Makefile
/openbmc/docs/OWNERS
/openbmc/docs/README.md
/openbmc/docs/REDFISH-cheatsheet.md
/openbmc/docs/REST-cheatsheet.md
/openbmc/docs/anti-patterns.md
/openbmc/docs/architecture/LED-architecture.md
/openbmc/docs/architecture/code-update/code-update-deprecated.md
/openbmc/docs/architecture/code-update/code-update-diagrams.md
/openbmc/docs/architecture/code-update/code-update.md
/openbmc/docs/architecture/code-update/emmc-storage-design.md
/openbmc/docs/architecture/code-update/firmware-update-over-redfish.md
/openbmc/docs/architecture/code-update/flash-layout.md
/openbmc/docs/architecture/code-update/host-code-update.md
/openbmc/docs/architecture/interface-overview.md
/openbmc/docs/architecture/object-mapper.md
/openbmc/docs/architecture/openbmc-systemd.md
/openbmc/docs/architecture/sensor-architecture.md
/openbmc/docs/architecture/user-management.md
/openbmc/docs/cheatsheet.md
/openbmc/docs/code-of-conduct.md
/openbmc/docs/cpp-style-and-conventions.md
/openbmc/docs/designs/bmc-health-monitor.md
/openbmc/docs/designs/bmc-reset-with-host-up.md
/openbmc/docs/designs/bmc-service-failure-debug-and-recovery.md
/openbmc/docs/designs/boot-progress.md
/openbmc/docs/designs/design-template.md
/openbmc/docs/designs/device-tree-gpio-naming.md
/openbmc/docs/designs/dump-manager.md
/openbmc/docs/designs/error-log-handling-for-phal.md
/openbmc/docs/designs/fail-boot-on-hw-error.md
/openbmc/docs/designs/guard-on-bmc.md
/openbmc/docs/designs/ibm/system-power-mode.md
/openbmc/docs/designs/management-console/VMI_Certificate_Exchange.md
/openbmc/docs/designs/management-console/service-discovery.md
/openbmc/docs/designs/mctp/mctp-kernel.md
/openbmc/docs/designs/mctp/mctp-standards.svg
/openbmc/docs/designs/mctp/mctp-userspace.md
/openbmc/docs/designs/mctp/mctp.md
/openbmc/docs/designs/multi-host-postcode.md
/openbmc/docs/designs/multihost-ipmi-design.md
/openbmc/docs/designs/oem/google/root_of_trust.md
/openbmc/docs/designs/phosphor-audit.md
/openbmc/docs/designs/phosphor-hwmon-io-uring.md
/openbmc/docs/designs/pldm-stack.md
/openbmc/docs/designs/psu-firmware-update.md
/openbmc/docs/designs/psu-monitoring.md
/openbmc/docs/designs/redfish-health-rolllup.md
/openbmc/docs/designs/redfish-resource-supplement-for-pfr.md
/openbmc/docs/designs/remote-bios-configuration.md
/openbmc/docs/designs/telemetry.md
/openbmc/docs/designs/virtual-media.md
/openbmc/docs/designs/virtual-sensors.md
/openbmc/docs/designs/voltage-regulator-configuration.md
/openbmc/docs/development/dev-environment.md
/openbmc/docs/development/gerrit-setup.md
/openbmc/docs/development/sdk-hello-world.md
/openbmc/docs/development/web-ui.md
/openbmc/docs/features.md
/openbmc/docs/host-management.md
/openbmc/docs/logo/BuiltOnOpenBMC.svg
/openbmc/docs/logo/OpenBMC-Logo2.svg
/openbmc/docs/maintainer-workflow.md
/openbmc/docs/meta-layer-guidelines.md
/openbmc/docs/release/release-notes.md
/openbmc/docs/release/release-process.md
/openbmc/docs/rest-api.md
/openbmc/docs/security/TLS-configuration.md
cpp/.clang-format
/openbmc/docs/subtree.md
/openbmc/docs/testing/local-ci-build.md
/openbmc/docs/userguide/userguide.tex
36d6f56f28-May-2020 Patrick Williams <patrick@stwcx.xyz>

clang-format: set standard to 'Latest'

Per the LLVM code, the string 'Cpp11' is actually an alias to 'Latest',
while 'C++11' is C++11. We want to tend towards using the latest C++
standard anyhow,

clang-format: set standard to 'Latest'

Per the LLVM code, the string 'Cpp11' is actually an alias to 'Latest',
while 'C++11' is C++11. We want to tend towards using the latest C++
standard anyhow, so set clang-format to 'Latest'. This is both what we
are already asking clang-format to do and clearer for people looking at
the file.

https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I430c58633b0d285cc617d013f8a1d6b3832aeba5

show more ...

b6de196021-May-2020 Patrick Williams <patrick@stwcx.xyz>

clang-format: add AfterCaseLabel option from clang-10

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id230561133d147c223cee3fb033978373b72f6c6


/openbmc/docs/MAINTAINERS
/openbmc/docs/README.md
/openbmc/docs/anti-patterns.md
/openbmc/docs/architecture/openbmc-systemd.md
/openbmc/docs/architecture/redfish-logging-in-bmcweb.md
/openbmc/docs/architecture/user-management.md
/openbmc/docs/cheatsheet.md
/openbmc/docs/code-of-conduct.md
/openbmc/docs/code-update/code-update.md
/openbmc/docs/designs/VirtualMedia.md
/openbmc/docs/designs/binarystore-via-blobs.md
/openbmc/docs/designs/design-template.md
/openbmc/docs/designs/device-tree-gpio-naming.md
/openbmc/docs/designs/dump-manager.md
/openbmc/docs/designs/ecc-dbus-sel.md
/openbmc/docs/designs/error-log-handling-for-phal.md
/openbmc/docs/designs/fail-boot-on-hw-error.md
/openbmc/docs/designs/firmware-update-via-blobs.md
/openbmc/docs/designs/management-console/service-discovery.md
/openbmc/docs/designs/nmi-dbus-interface.md
/openbmc/docs/designs/nvmemi-over-smbus.md
/openbmc/docs/designs/phosphor-audit.md
/openbmc/docs/designs/power-systems-memory-preserving-reboot.md
/openbmc/docs/designs/psu-monitoring.md
/openbmc/docs/designs/redfish-eventservice.md
/openbmc/docs/designs/redfish-health-rolllup.md
/openbmc/docs/designs/redfish-postcodes.md
/openbmc/docs/designs/redfish-resource-supplement-for-pfr.md
/openbmc/docs/designs/state-management-and-external-interfaces.md
/openbmc/docs/designs/thermal-control-modes.md
/openbmc/docs/development/sdk-hello-world.md
/openbmc/docs/features.md
/openbmc/docs/logo/OpenBMC-Logo.svg
/openbmc/docs/security/how-to-report-a-security-vulnerability.md
/openbmc/docs/security/network-security-considerations.md
/openbmc/docs/security/obmc-security-response-team-guidelines.md
cpp/.clang-format
/openbmc/docs/testing/local-ci-build.md
9a71ea1929-Oct-2019 Zane Shelley <zshelle@us.ibm.com>

Updated cpp/.clang-format to v8 spec

Included missing fields and updated values based on the version 8
specification.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I0ca66d83467e39a93b

Updated cpp/.clang-format to v8 spec

Included missing fields and updated values based on the version 8
specification.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I0ca66d83467e39a93bbde45af6fa724313e85809

show more ...


/openbmc/docs/CONTRIBUTING.md
/openbmc/docs/LICENSE
/openbmc/docs/Makefile
/openbmc/docs/README.md
/openbmc/docs/REDFISH-cheatsheet.md
/openbmc/docs/REST-cheatsheet.md
/openbmc/docs/anti-patterns.md
/openbmc/docs/architecture/LED-architecture.md
/openbmc/docs/architecture/ipmi-architecture.md
/openbmc/docs/architecture/object-mapper.md
/openbmc/docs/architecture/openbmc-systemd.md
/openbmc/docs/architecture/sensor-architecture.md
/openbmc/docs/architecture/user_management.md
/openbmc/docs/cheatsheet.md
/openbmc/docs/code-of-conduct.md
/openbmc/docs/code-update/code-update-deprecated.md
/openbmc/docs/code-update/code-update-diagrams.md
/openbmc/docs/code-update/code-update.md
/openbmc/docs/code-update/flash-layout.md
/openbmc/docs/code-update/host-code-update.md
/openbmc/docs/console.md
/openbmc/docs/cpp-style-and-conventions.md
/openbmc/docs/designs/VirtualMedia.md
/openbmc/docs/designs/binarystore_via_blobs.md
/openbmc/docs/designs/ci-authorization.md
/openbmc/docs/designs/design-template.md
/openbmc/docs/designs/ecc_dbus_sel.md
/openbmc/docs/designs/emmc-storage-design.md
/openbmc/docs/designs/expired-password.md
/openbmc/docs/designs/firmware-update-over-redfish.md
/openbmc/docs/designs/firmware_update_via_blobs.md
/openbmc/docs/designs/mctp-standards.svg
/openbmc/docs/designs/mctp.md
/openbmc/docs/designs/nmi_dbus_interface.md
/openbmc/docs/designs/nvmemi_over_SMbus.md
/openbmc/docs/designs/phosphor-hwmon-refactoring.md
/openbmc/docs/designs/pldm-stack.md
/openbmc/docs/designs/psu-firmware-update.md
/openbmc/docs/designs/psu-monitoring.md
/openbmc/docs/designs/redfish-pcie.md
/openbmc/docs/designs/redfish-resource-supplement-for-pfr.md
/openbmc/docs/designs/redfish-tls-user-authentication.md
/openbmc/docs/designs/redfish_health_rollup.md
/openbmc/docs/designs/target-fail-monitoring.md
/openbmc/docs/designs/telemetry.md
/openbmc/docs/designs/thermal_control_modes.md
/openbmc/docs/designs/unique-hostname.md
/openbmc/docs/designs/voltage-regulator-configuration.md
/openbmc/docs/designs/vpd-collection.md
/openbmc/docs/development/README.md
/openbmc/docs/development/add-new-system.md
/openbmc/docs/development/dev-environment.md
/openbmc/docs/development/gerrit-setup.md
/openbmc/docs/development/sdk-hello-world.md
/openbmc/docs/development/web-ui.md
/openbmc/docs/features.md
/openbmc/docs/glossary.md
/openbmc/docs/host-management.md
/openbmc/docs/kernel-development.md
/openbmc/docs/logo/BuiltOnOpenBMC.svg
/openbmc/docs/logo/OpenBMC_Logo.svg
/openbmc/docs/maintainer-workflow.md
/openbmc/docs/meetings/README.md
/openbmc/docs/redfish-logging-in-bmcweb.md
/openbmc/docs/release/release-notes.md
/openbmc/docs/release/release-process.md
/openbmc/docs/rest-api.md
/openbmc/docs/security/how-to-report-a-security-vulnerability.md
/openbmc/docs/security/network-security-considerations.md
/openbmc/docs/security/obmc-security-response-team-guidelines.md
/openbmc/docs/security/obmc-security-response-team.md
cpp/.clang-format
/openbmc/docs/testing/local-ci-build.md
/openbmc/docs/testing/run-test-docker.md
/openbmc/docs/userguide/userguide.tex
/openbmc/docs/yocto-development.md
0dcc430a24-Sep-2018 Patrick Venture <venture@google.com>

add .clang-format exemplars

Adds .clang-format for cpp and javascript

Change-Id: I8a7ed63be54a3f44ef448cf603ee2a8643436afd
Signed-off-by: Patrick Venture <venture@google.com>