#
16c2a0a0 |
| 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: I8c84201cb2343a8c8a5507a49de0721a1bee7063 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
a675662c |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 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-17 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: Ib8dfa202f1d59add43fc0d55ab2bf388c8e7c877 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
6da4f91b |
| 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: I61b093f75011417cc9c7acf9605200f4fa429bac Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
ca1998f3 |
| 06-Jun-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
update clang-format
This commit would update the repo's clang-format file to the latest of docs/style/cpp/clang-format file.
Following is the new change that is added: Brad : clang-format: cpp: r
update clang-format
This commit would update the repo's clang-format file to the latest of docs/style/cpp/clang-format file.
Following is the new change that is added: Brad : clang-format: cpp: remove empty lines
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Ieaadd8a1cd779c9c12adf6d065cc1f9e9a8fa37b
show more ...
|
#
66d26e36 |
| 22-Nov-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Update the clang-format file with latest The new clang-format would help us to format files with unix-style new lines (\n). ref : https://github.com/openbmc/docs/commit/2f52b0a3
Update the clang-format file with latest The new clang-format would help us to format files with unix-style new lines (\n). ref : https://github.com/openbmc/docs/commit/2f52b0a3e45749c0474e5215ed6d21efeb39c443 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Iebf6cc6eab0ccf19470ea8bb1c92f5b745014d18
show more ...
|
#
a6678d74 |
| 13-Sep-2021 |
George Liu <liuxiwei@inspur.com> |
Update clang-format refer: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ie25dbd6bd051baf3a1f163
Update clang-format refer: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ie25dbd6bd051baf3a1f163fdf4cbddd9a1c7acca
show more ...
|
#
6492f524 |
| 15-Jun-2020 |
George Liu <liuxiwei@inspur.com> |
clang-format: update to latest from docs repo Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest.
clang-format: update to latest from docs repo Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest. https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82 https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Also, other OpenBMC repos are doing the same. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I449e88bb4e1e262060110e1a8f3e8db3ddfc74cf
show more ...
|
#
826c9d43 |
| 26-May-2020 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
clang-10: run clang-format on the repo Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Change-Id: Id7e57a37990a764a191a4e6c4427ceeda670ef51
|
#
cf0c6423 |
| 10-Feb-2019 |
Tom Joseph <tomjoseph@in.ibm.com> |
Add clang format for C and C++ The libpldm is written in C and can be shared with projects other than OpenBMC. The code written in C follows the Linux kernel coding guidelines. The l
Add clang format for C and C++ The libpldm is written in C and can be shared with projects other than OpenBMC. The code written in C follows the Linux kernel coding guidelines. The libpldmresponder and the application code follows the modern C++ and the clang format follows the OpenBMC coding guidelines. clang-format for each input file will try to find the .clang-format file located in the closest parent directory of the input file. Since the C code is in libpldm directory it has a specific .clang-format. Change-Id: I9346d454cb20009c6daf526d4ceb722d7400a8d1 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|