openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
49 stars 36 forks source link

[style] add clang-tidy format #252

Closed wgtdkp closed 4 months ago

wgtdkp commented 4 months ago

Follow openthread clang-tidy formatting and update the source code accordingly.

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 92.24138% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 72.95%. Comparing base (7c936cb) to head (3488e0d).

:exclamation: Current head 3488e0d differs from pull request most recent head e870c84. Consider uploading reports for the commit e870c84 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #252 +/- ## ========================================== - Coverage 73.03% 72.95% -0.08% ========================================== Files 71 72 +1 Lines 7484 7477 -7 ========================================== - Hits 5466 5455 -11 - Misses 2018 2022 +4 ``` | [Files](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread) | Coverage Δ | | |---|---|---| | [include/commissioner/commissioner.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=include%2Fcommissioner%2Fcommissioner.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-aW5jbHVkZS9jb21taXNzaW9uZXIvY29tbWlzc2lvbmVyLmhwcA==) | `25.00% <ø> (ø)` | | | [include/commissioner/error.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=include%2Fcommissioner%2Ferror.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-aW5jbHVkZS9jb21taXNzaW9uZXIvZXJyb3IuaHBw) | `100.00% <ø> (ø)` | | | [src/app/cli/interpreter.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcli%2Finterpreter.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jbGkvaW50ZXJwcmV0ZXIuaHBw) | `100.00% <ø> (ø)` | | | [src/app/cli/job.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcli%2Fjob.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jbGkvam9iLmhwcA==) | `100.00% <ø> (ø)` | | | [src/app/cli/job\_manager.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcli%2Fjob_manager.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jbGkvam9iX21hbmFnZXIuaHBw) | `100.00% <ø> (ø)` | | | [src/app/cli/main.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcli%2Fmain.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jbGkvbWFpbi5jcHA=) | `85.71% <100.00%> (ø)` | | | [src/app/cli/security\_materials.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcli%2Fsecurity_materials.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jbGkvc2VjdXJpdHlfbWF0ZXJpYWxzLmNwcA==) | `69.31% <100.00%> (ø)` | | | [src/app/commissioner\_app.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcommissioner_app.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jb21taXNzaW9uZXJfYXBwLmhwcA==) | `100.00% <100.00%> (ø)` | | | [src/app/commissioner\_app\_dummy.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcommissioner_app_dummy.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jb21taXNzaW9uZXJfYXBwX2R1bW15LmNwcA==) | `0.00% <ø> (ø)` | | | [src/app/commissioner\_app\_mock.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree&filepath=src%2Fapp%2Fcommissioner_app_mock.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jb21taXNzaW9uZXJfYXBwX21vY2suaHBw) | `52.77% <100.00%> (+0.66%)` | :arrow_up: | | ... and [26 more](https://app.codecov.io/gh/openthread/ot-commissioner/pull/252?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread) | |
wgtdkp commented 4 months ago

Thanks @wgtdkp for all the changes/enhancements to the ot-commissioner 👍

Thanks for reviewing @abtink !