Initial import of libdpf.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ryan Henry 2026-09-24 14:08:32 -06:00
commit e4e666f459
4563 changed files with 1690372 additions and 0 deletions

29
thirdparty/hedley/test/no-return.c vendored Normal file
View file

@ -0,0 +1,29 @@
#include "../hedley.h"
#if defined(HEDLEY_IAR_VERSION)
# pragma diag_suppress=Pe082
#elif \
(defined(HEDLEY_TI_VERSION) && !HEDLEY_TI_VERSION_CHECK(18,1,0)) || \
(defined(HEDLEY_TI_CL6X_VERSION) && !HEDLEY_TI_VERSION_CHECK(8,3,0))
/* exit() was not annotated with noreturn */
# pragma diag_suppress 1585
#endif
#if defined(_MSC_VER)
HEDLEY_DIAGNOSTIC_PUSH
#pragma warning(disable:4255 4668)
#include <stdlib.h>
HEDLEY_DIAGNOSTIC_POP
#else
#include <stdlib.h>
#endif
HEDLEY_NO_RETURN
static void
test_no_return(int code) {
exit(code);
}
int main(void) {
test_no_return(0);
}