Sorry to have let this slip! This is looking good, but I had one more thought about the diagnostic message. It says "may yield unexpected results", but doesn't really explain what those unexpected results are. I was wondering if we could work the type into the message for the operator case. "operand of sizeof is a binary _expression_ of type %0, which may not be intended" I don't like that wording either, but at least this one makes people say "what? why isn't it [the type I actually want]?". Also, should there be a way to silence the warning? What do you think? Jordan On Jan 23, 2014, at 6:40 , Anders Rönnholm <[email protected]> wrote:
|
sizeofonexpression.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
