Skip to content

Commit

Permalink
Re-add ninja to the tidy application
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Nov 11, 2024
1 parent a8e3371 commit 0398078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ jobs:
git submodule update --init
mkdir -p build && cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DTESTING=ON -GNinja
ninja
sed -i 's/-fprofile-abs-path //g' compile_commands.json
run-clang-tidy ../ ./ -clang-tidy-binary=$(which clang-tidy-19) -quiet -j $(nproc)
1 change: 1 addition & 0 deletions logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ class Logger {

return space();
} else {
// https://stackoverflow.com/questions/38304847/how-does-a-failed-static-assert-work-in-an-if-constexpr-false-block#comment119622305_64354296
static_assert(sizeof(T) == 0,
"Output for the given type not implemented.");
}
Expand Down

0 comments on commit 0398078

Please sign in to comment.