I think the current mode is too restrictive, it will emit error for any statement inside a naked function. Code I'm trying to compile for ARM declares registers as variables to improve readability and passes them as input operands to inline assembly.
register uint32_t Something asm("rax");
I think we'll need to check for multiple declarators here:
And do we need to check for an initializer? For example, the following should not be allowed:
It would also be nice to have a comment explaining why these are Ok but not other declarations.