more on MS __declspec
[cparser] / TODO
1 Refactoring:
2 - create an empty_statement_t and use that instead of a NULL pointer in places
3   like if, loop bodys, statements after labels
4 - eliminate target_architecture.h and replace with stuff in lang_features.h
5 - redo storage classes: so we can separate real from declared storage class
6
7 Lexer:
8 - Add preprocessor code
9 - proper handling of different file encodings, parsing non-ascii strings
10 - We could save some space by holding source positions in a separate (somehow
11   compressed table) and only storing pointers to it on the AST.
12
13 Parser:
14 - disallow storage class specifiers in sturct/union members
15 - the expect macros abort functions directly. This leads to some functions
16   not resetting the current context properly (parse_for); expect in expressions
17   suddenly return NULL which triggers asserts
18 - label: declaration; is no valid C99 but we parse it anyway
19 - add constant folding code (optional, ast2firm already does it)
20 - Refactor code, so code to handle number values (and strings?) is an own
21   module and replacable
22 - Support some attributes. noreturn, unused, printf, scanf, packed would be
23   interesting candidates
24 - Add columns to source positions
25 - SourcePositions could be stored selectively on expressions that really need
26   them.
27 - check semantic for functions declared/defined in global scope and declared
28   again in a local scope
29 - print initialisation type_path for initializer errors
30
31 ast2firm:
32 - handle non-constant initializers
33 - output source file positions for panics...
34 - handle bitfield members with 0 correctly (standard says they finish the
35   current unit)
36
37 Missing Warnings:
38 * dead assignments (int x = 5; x = bla(); -> dead assignment at x = 5;)
39 * unused label
40 *