Skip to content

Commit

Permalink
Enable assertions while running the clang analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Mar 9, 2024
1 parent f5d7764 commit 1ac52b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#define NoInline __attribute__ ((noinline))
#endif

#if defined(__clang_analyzer__)
#undef NDEBUG
#endif

#include <cassert>
#include <cstdint>

Expand Down

0 comments on commit 1ac52b8

Please sign in to comment.