mirror of
https://github.com/resiprocate/resiprocate.git
synced 2026-01-12 00:05:02 +08:00
Only use Clang-Tidy checks relating to move semantics and other issues which may result in undefined behaviour
This commit is contained in:
10
.clang-tidy
10
.clang-tidy
@@ -1,4 +1,12 @@
|
||||
Checks: >-
|
||||
-*,
|
||||
bugprone-*
|
||||
bugprone-exception-escape,
|
||||
bugprone-move-forwarding-reference,
|
||||
bugprone-undefined-memory-manipulation,
|
||||
bugprone-unhandled-self-assignment,
|
||||
bugprone-use-after-move,
|
||||
performance-move-const-arg,
|
||||
performance-move-constructor-init,
|
||||
performance-no-automatic-move,
|
||||
performance-noexcept-move-constructor
|
||||
HeaderFilterRegex: .*
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -81,9 +81,7 @@ jobs:
|
||||
|
||||
- name: Analyse
|
||||
if: ${{ matrix.c-compiler == 'clang-13' }}
|
||||
run: |
|
||||
clang-tidy-13 --list-checks
|
||||
run-clang-tidy-13
|
||||
run: run-clang-tidy-13
|
||||
|
||||
- name: Test
|
||||
run: make -j1 CTEST_OUTPUT_ON_FAILURE=1 test
|
||||
|
||||
Reference in New Issue
Block a user