Closed
Description
Bugzilla Link | 36509 |
Version | unspecified |
OS | All |
CC | @BatmanAoD,@EugeneZelenko,@Xazax-hun |
Extended Description
The misc-redundant-expression check reports a warning for the following use of decltype:
int x;
int y;
decltype(x + y - (x + y)) z = 10;
It's unclear whether or not misc-redundant-expression should return results for expressions inside a decltype specifier.