• Jinoh Kang's avatar
    include/msvcrt: Add noreturn attribute to _assert. · b6a26817
    Jinoh Kang authored
    This informs the compiler that no code following an assertion failure
    will execute (unless NDEBUG is defined), which increases the accuracy of
    compiler warnings and static analyses.
    
    For assert.h, put DECLSPEC_NORETURN before the return type in the
    function declaration to remain consistent with other MSVCRT function
    declarations.
    b6a26817
exit.c 13 KB