diff options
| author | Yawning Angel <yawning@schwanenlied.me> | 2024-12-23 14:15:59 +0900 |
|---|---|---|
| committer | Yawning Angel <yawning@schwanenlied.me> | 2024-12-25 00:08:09 +0900 |
| commit | 3a5440e4eddea3735b26689e576ba4e1102a6a3a (patch) | |
| tree | f26f390da293a6f1d0c9388357678fdc5b7fe7d0 /src/llvm_backend_expr.cpp | |
| parent | ad99d20d292ab4708996c935315c36aef58796a8 (diff) | |
base/runtime: Add `ensure` and `ensure_contextless`
This provides an equivalent to `assert` and `assert_contextless` that
are always evaluated, ignoring `ODIN_DISABLE_ASSERT`, which is useful
for enforcing API contracts or "asserting" on conditionals with
side-effects.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions