guenther
3c7684f798
Teach lint about C99's _Bool and _Complex, plus some related gcc
extensions: __real__ and __imag__ operators, the use of '~' for complex conjugation, and 'i' or 'j' as a suffix for complex constants. While this doesn't handle folding and overflow detection for complex constants correctly, it's good enough to make it through libm...and found several bugs once it could do so. "no objections" miod@, krw@ |
14 years ago | |
---|---|---|
src | Teach lint about C99's _Bool and _Complex, plus some related gcc | 14 years ago |