This seems to be as close as I can get it to my style. I'd've wanted to also set Cpp11BracedListStyle[1] to Block, but that ended up misformatting some compound literals that included expressions with binary operators. I'm also unsure what is going on with the formatting of _Generic(). [1] https://clang.llvm.org/docs/ClangFormatStyleOptions.html#cpp11bracedliststyle
11 lines
347 B
C
11 lines
347 B
C
// This file is the "public" API for error.c.
|
|
// Declarations / definitions that are required by other headers are in
|
|
// error_internal.h.
|
|
#include "error_internal.h"
|
|
|
|
extern char const *argv0;
|
|
|
|
[[noreturn]] void die(char const fmt[static 1], ...);
|
|
|
|
[[noreturn]] void
|
|
panic_at_with_errno(struct panic_location loc, char const fmt[static 1], ...);
|