[multi-radio] fix clang-tidy warnings (#6821)

- enable TREL in clang-tidy check
- add explicit keyword to constructors
- fix inconsistent parameter names
- remove redundant initializer
- use nullptr
This commit is contained in:
Jonathan Hui
2021-07-16 09:48:56 -07:00
committed by GitHub
parent 53af491df5
commit d89f9222f0
8 changed files with 12 additions and 15 deletions
+1
View File
@@ -115,6 +115,7 @@ readonly OT_CLANG_TIDY_BUILD_OPTS=(
'-DOT_SNTP_CLIENT=ON'
'-DOT_SRP_CLIENT=ON'
'-DOT_THREAD_VERSION=1.2'
'-DOT_TREL=ON'
'-DOT_COVERAGE=ON'
'-DOT_LOG_LEVEL_DYNAMIC=ON'
'-DOT_COMPILE_WARNING_AS_ERROR=ON'