| commit | ac9c9c73e17abaf3622f756cc849b2513b4dfc45 | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Thu Dec 07 07:29:31 2023 +0000 |
| committer | Lei YU <yulei.sh@bytedance.com> | Thu Dec 07 07:48:24 2023 +0000 |
| tree | 42523855f70f0a0ffa3eb16f5afbff02492da358 | |
| parent | 16baaf73f94dad86dc5bab02616e2675c6d6f71a [diff] |
unit-test: meson: Use clang-tidy-fix
In meson 1.3.0 `clang-tidy-fix` target is added if `.clang-tidy` file
exists. This could be used to run clang-tidy with the fixes applied to
the source code.
Change the unit-test script to use `clang-tidy-fix` for meson projects.
Tested: Manually verify in a meson proejct that the `clang-tidy` check
fixes the code if issues are found.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ic6e1c6253b7fba075c26d9aad607854b49be9b23