Skip to content
  • grischka's avatar
    nocode, noreturn · 1b575605
    grischka authored
    A more automatic approach to code suppression (aka. nocode_wanted)
    
    The simple rules are:
    - Clear 'nocode_wanted' at (im/explicit) label IF it was used
    - Set 'nocode_wanted' after unconditional jumps
    
    Also in order to test this then I did add the "function might
    return no value" warning, and then to make that work again I
    did add the __attribute__((noreturn)).
    
    Also moved the look ahead label check into the type parser
    to gain a little speed.
    1b575605