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] update formatter to clang-format-14 #248

Closed wgtdkp closed 5 months ago

wgtdkp commented 5 months ago

clang-format-14 is used by openthread and ot-br-posix, so just follow it.

codecov-commenter commented 5 months ago

Codecov Report

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

Project coverage is 73.33%. Comparing base (de8e82c) to head (853974f).

:exclamation: Current head 853974f differs from pull request most recent head bc818e1. Consider uploading reports for the commit bc818e1 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #248 +/- ## ========================================== - Coverage 73.35% 73.33% -0.03% ========================================== Files 71 71 Lines 7420 7421 +1 ========================================== - Hits 5443 5442 -1 - Misses 1977 1979 +2 ``` | [Files](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread) | Coverage Δ | | |---|---|---| | [src/app/border\_agent.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree&filepath=src%2Fapp%2Fborder_agent.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9ib3JkZXJfYWdlbnQuY3Bw) | `92.50% <100.00%> (ø)` | | | [src/app/border\_agent.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree&filepath=src%2Fapp%2Fborder_agent.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9ib3JkZXJfYWdlbnQuaHBw) | `100.00% <ø> (ø)` | | | [src/app/br\_discover.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree&filepath=src%2Fapp%2Fbr_discover.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9icl9kaXNjb3Zlci5jcHA=) | `89.47% <ø> (ø)` | | | [src/app/cli/interpreter.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree&filepath=src%2Fapp%2Fcli%2Finterpreter.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jbGkvaW50ZXJwcmV0ZXIuY3Bw) | `79.70% <100.00%> (ø)` | | | [src/app/cli/interpreter.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?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.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree&filepath=src%2Fapp%2Fcli%2Fjob.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9jbGkvam9iLmNwcA==) | `100.00% <100.00%> (ø)` | | | [src/app/cli/job.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?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/commissioner\_app.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?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% <ø> (ø)` | | | [src/app/file\_logger.hpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree&filepath=src%2Fapp%2Ffile_logger.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9maWxlX2xvZ2dlci5ocHA=) | `100.00% <ø> (ø)` | | | [src/app/mdns\_handler.cpp](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree&filepath=src%2Fapp%2Fmdns_handler.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread#diff-c3JjL2FwcC9tZG5zX2hhbmRsZXIuY3Bw) | `85.71% <100.00%> (ø)` | | | ... and [19 more](https://app.codecov.io/gh/openthread/ot-commissioner/pull/248?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread) | |