commit | 0c0b3909d11de7440d77556089516918b9c04cef | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jun 30 10:40:20 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Sun Jun 30 10:40:20 2013 +0000 |
tree | 1b4762f53bfa32d52f57b2ce7ae1381eb1a7dfda | |
parent | aa4bc18240c03b5ed7952aa5e013c081f8733ed3 [diff] |
Teach -Wunsequenced that the side-effects of a function evaluation are sequenced before the value computation of the result. In C, this is implied by there being a sequence point after their evaluation, and in C++, it's implied by the side-effects being sequenced before the expressions and statements in the function body. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185282 91177308-0d34-0410-b5e6-96231b3b80d8