llvm-project/clang/test/CXX/expr/expr.unary
Aaron Ballman 6c93b3e29c Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case.
llvm-svn: 224465
2014-12-17 21:57:17 +00:00
..
expr.delete
expr.new DR1346: a parenthesized braced-init-list cannot be used as the initializer when 2014-03-12 17:42:45 +00:00
expr.sizeof Make wording for certain invalid unary expressions more consistent. 2013-10-09 00:22:23 +00:00
expr.unary.noexcept Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
expr.unary.op PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +00:00