diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-26 23:16:51 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-26 23:16:51 +0000 |
| commit | 418dd3eb3e813235af089b5c88182941f8a03d20 (patch) | |
| tree | 279e5236c599e3c81fab389ccdca7bb12d22d7ea /lib/CodeGen/CodeGenFunction.cpp | |
| parent | a8bd8c87ce124fe7748580fc169feef5147f68f1 (diff) | |
| download | clang-418dd3eb3e813235af089b5c88182941f8a03d20.tar.gz clang-418dd3eb3e813235af089b5c88182941f8a03d20.tar.bz2 clang-418dd3eb3e813235af089b5c88182941f8a03d20.tar.xz | |
PR16467: Teach -Wunsequenced that in C11 (unlike C++11), an assignment's
side-effect is not sequenced before its value computation. Also fix a
mishandling of ?: expressions where the condition is constant that was
exposed by the tests for this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
