commit | 418dd3eb3e813235af089b5c88182941f8a03d20 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Jun 26 23:16:51 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Jun 26 23:16:51 2013 +0000 |
tree | 279e5236c599e3c81fab389ccdca7bb12d22d7ea | |
parent | a8bd8c87ce124fe7748580fc169feef5147f68f1 [diff] |
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