9 Commits

Author SHA1 Message Date
dc795ff491
luna: Introduce fail(...), a replacement for expect(false, ...) 2023-02-25 17:45:40 +01:00
34a9b35037
Option, Result: Propagate caller locations when erroring out
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-22 12:00:52 +01:00
0126a8fb6e
luna: Add a new SourceLocation class and use that in check() and expect() 2023-01-22 11:43:48 +01:00
da805eec83
Describe what check() and expect() are
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 10:59:30 +01:00
cda0d49a4e
Add todo()
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-18 17:15:42 +01:00
23d405bbda
Add an unreachable() macro function that panics if reached 2022-12-18 12:40:28 +01:00
8598b1e8fc
Replace the _noreturn macro with the C++ native attribute [[noreturn]]
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-06 19:40:35 +01:00
7cc139c3f7
Make expect and check use unlikely 2022-12-05 13:35:33 +01:00
c7ab6bc2d3
Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00