Allow variadic arguments without named ones for C++, e.g. "void(...);"
[clang.git] / TODO.txt
blob111f747275d96ecea076a6e84f69837f834c508c
1 //===---------------------------------------------------------------------===//
2 // Minor random things that can be improved
3 //===---------------------------------------------------------------------===//
4    
6 Warn about "X && 0x1000" saying that the user may mean "X & 0x1000".
7 We should do this for any immediate except zero, so long as it doesn't come 
8 from a macro expansion.  Likewise for ||.
10 //===---------------------------------------------------------------------===//
12 Lexer-related diagnostics should point to the problematic character, not the
13 start of the token.  For example:
15 int y = 0000\
16 00080;
18 diag.c:4:9: error: invalid digit '8' in octal constant
19 int y = 0000\
20         ^
22 should be:
24 diag.c:4:9: error: invalid digit '8' in octal constant
25 00080;
26    ^
28 This specific diagnostic is implemented, but others should be updated.
30 //===---------------------------------------------------------------------===//
32 C++ (checker): For iterators, warn of the use of "iterator++" instead
33   of "++iterator" when when the value returned by operator++(int) is
34   ignored.