[cfe-commits] [Patch] Type-qualifiers on condtitional expression
Tim.Northover at arm.com
Mon Apr 2 04:46:52 PDT 2012
When doing something like this:
const int *CI;
*(test ? I : CI) = 0
clang currently doesn't put the combined qualifiers on the output type, which
means that the assignment is allowed. I believe this patch implements correct
C99 semantics (and sane behaviour for non-CVR type qualifiers).
Could someone review it please?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4028 bytes
Desc: not available
More information about the cfe-commits