Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Checks: >
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-bugprone-switch-missing-default-case,
-bugprone-throwing-static-initialization,
-bugprone-unchecked-string-to-number-conversion,
-concurrency-mt-unsafe,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
Expand Down
183 changes: 0 additions & 183 deletions .github/workflows/CI-unixish.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/CI-windows.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 21
sudo apt-get install clang-tidy-21
sudo ./llvm.sh 22
sudo apt-get install clang-tidy-22

- name: Verify clang-tidy configuration
run: |
clang-tidy-21 --verify-config
clang-tidy-22 --verify-config

- name: Prepare CMake
run: |
cmake -S . -B cmake.output -Werror=dev --warn-uninitialized -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
env:
CXX: clang-21
CXX: clang-22

- name: Clang-Tidy
run: |
run-clang-tidy-21 -q -j $(nproc) -p=cmake.output
run-clang-tidy-22 -q -j $(nproc) -enable-check-profile -p=cmake.output
62 changes: 0 additions & 62 deletions .github/workflows/format.yml

This file was deleted.

3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wno-shorten-64-to-32)
add_compile_options(-Wno-shadow-field-in-constructor)

# TODO: enable?
add_compile_options_safe(-Wexperimental-lifetime-safety-suggestions)

# we are not interested in these
set_source_files_properties(test.cpp PROPERTIES COMPILE_FLAGS "-Wno-multichar -Wno-four-char-constants")

Expand Down