aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2017-11-30 09:18:35 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2017-11-30 09:18:35 +0000
commit88b56caa0e18e2e4efe122d31e646872436e87f3 (patch)
treeda245a2448f253d1261d3cf87ba5599f209d1f78 /clang/lib/CodeGen/CodeGenModule.h
parent21e8ded4d2a4d90bee00ecb80abb812866fb6183 (diff)
downloadllvm-88b56caa0e18e2e4efe122d31e646872436e87f3.zip
llvm-88b56caa0e18e2e4efe122d31e646872436e87f3.tar.gz
llvm-88b56caa0e18e2e4efe122d31e646872436e87f3.tar.bz2
[analyzer] Fix false negative on post-increment of uninitialized variable.
Summary: Currently clang static analyzer does warn on: ``` int x; x+=1; x-=1; x=x+1; x=x-1; ``` But does warn on: ``` int x; x++; x--; --x; ++x; ``` This differential should fix that. Fixes https://bugs.llvm.org/show_bug.cgi?id=35419 Reviewers: dcoughlin, NoQ Reviewed By: dcoughlin Subscribers: NoQ, xazax.hun, szepet, cfe-commits, a.sidorin Tags: #clang Differential Revision: https://reviews.llvm.org/D40463 llvm-svn: 319411
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions