This patch is an implementation of the proposed "different.UnaryPlusWithUnsigned", which I implemented as "alpha.deadcode.UnaryPlusWithUnsigned".
It is implemented as a simple AST checker. However, it seems that unary '+' is often removed from the AST as dead code. So some of the basic test cases don't work. This is my first (real) patch, so any feedback or criticism is appreciated. Adam Schnitzer
UnaryPlusChecker.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
