diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-30 10:40:20 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-30 10:40:20 +0000 |
| commit | 0c0b3909d11de7440d77556089516918b9c04cef (patch) | |
| tree | 1b4762f53bfa32d52f57b2ce7ae1381eb1a7dfda /lib/CodeGen/CodeGenFunction.cpp | |
| parent | aa4bc18240c03b5ed7952aa5e013c081f8733ed3 (diff) | |
| download | clang-0c0b3909d11de7440d77556089516918b9c04cef.tar.gz clang-0c0b3909d11de7440d77556089516918b9c04cef.tar.bz2 clang-0c0b3909d11de7440d77556089516918b9c04cef.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
