Skip to content
  • Christian Hergert's avatar
    macros: add IDE_FALLTHROUGH macro · 3426dc47
    Christian Hergert authored
    This should be used where we want to explicitly fallthrough to the next
    case statement in a switch. On GCC 7, we can use
    __attribute__((fallthrough)) to denote we explicitely want to fallthrough.
    
    This is useful to silence -Wimplicit-fallthrough.
    3426dc47