commit | 3e95ba94fd34c5f6420c57d7732f601875074681 | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Thu Jun 16 21:36:56 2011 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Thu Jun 16 21:36:56 2011 +0000 |
tree | f9d91882f472c5ab6fc330c73d0819f5e98ed7f9 | |
parent | a92d7e7a55a35b28437103130904a6401bf35408 [diff] |
Add a new warning when a NULL constant is used in arithmetic operations. The warning will fire on cases such as: int x = 1 + NULL; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133196 91177308-0d34-0410-b5e6-96231b3b80d8