summaryrefslogtreecommitdiffstats
path: root/src/diag.h
Commit message (Collapse)AuthorAgeFilesLines
* diag: New bfs_unreachable() and bfs_assume() macrosTavian Barnes2024-11-041-0/+32
|
* build: Move feature test macros to prelude.hTavian Barnes2024-08-281-2/+0
| | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented.
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-0/+3
|
* diag: Get rid of bfs_static_assert()Tavian Barnes2024-08-281-10/+0
| | | | | In most cases, it's not too annoying to specify a message. For tests/bit.c, we can manually polyfill the 1-argument version.
* prelude: Simplify attributesTavian Barnes2024-07-281-17/+25
|
* Stop using %mTavian Barnes2024-05-201-8/+4
|
* diag: New helpers to include xstrerror(errno) automaticallyTavian Barnes2024-05-171-1/+42
|
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* diag: New bfs_diag() macroTavian Barnes2024-02-291-0/+13
|
* config: s/attr_format/attr_printf/Tavian Barnes2023-12-181-7/+7
|
* config: New variadic attr(...) macroTavian Barnes2023-12-181-22/+15
|
* config: Add constants for C standard versionsTavian Barnes2023-11-101-2/+2
|
* config: New attr_noinline and attr_cold macrosTavian Barnes2023-11-091-0/+15
|
* config: s/BFS_FORMATTER/attr_format/Tavian Barnes2023-11-091-7/+7
|
* diag: Move enum debug_flags out of ctx.hTavian Barnes2023-10-121-1/+28
|
* Formatting fixesTavian Barnes2023-09-271-1/+1
|
* bfstd: Support wordesc() without allocatingTavian Barnes2023-07-131-2/+2
|
* Unify macro naming conventionsTavian Barnes2023-06-241-4/+2
| | | | | In particular, macros that decide whether to use a particular API/ dependency should be spelled BFS_USE_*, and should be configurable.
* diag: New bfs_loc type for source locationsTavian Barnes2023-06-221-13/+31
|
* diag: New bfs_verify() and bfs_assert() macrosTavian Barnes2023-05-181-0/+22
|
* diag: New bfs_abort() and bfs_bug() macrosTavian Barnes2023-05-181-0/+24
|
* diag: New bfs_static_assert() macroTavian Barnes2023-05-161-1/+11
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-111-1/+0
| | | | In anticipation of C23, since those headers won't be necessary any more.
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* Add BFS_FORMATTER() to vprintf()-type functions tooTavian Barnes2022-12-081-0/+3
|
* bfstd: Rename from util and reorganize itTavian Barnes2022-11-061-1/+1
|
* Source / Include Folder (#88)トトも2022-04-161-0/+108
Moved Source Files Into `src` Folder