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 | e3dbfe04b701216ab72fb69b52d4aac9cb017ecb (patch) | |
tree | 50c3bc48eaecf2ee21140390a16cb2d193f64eac /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ac974a3c76fbe2cc9d05adde3455ef42abd18d95 (diff) | |
download | bcm5719-llvm-e3dbfe04b701216ab72fb69b52d4aac9cb017ecb.tar.gz bcm5719-llvm-e3dbfe04b701216ab72fb69b52d4aac9cb017ecb.zip |
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.
llvm-svn: 185282
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions