Skip to content
Commit 6c93b3e2 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Adding a -Wunused-value warning for expressions with side effects used in an...

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
parent 4de56ef7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment