commit | 091f23f1d6d4bcffd6641cda72a6831e08c02ea7 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Tue Nov 09 22:22:12 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Tue Nov 09 22:22:12 2010 +0000 |
tree | 68b3412e591456abb9639ef22cf2d705511b5db1 | |
parent | 73167ec561c1dc3f34cbca2287c83985cbf2bfdf [diff] |
Split out -Wconversion warnings about constant precision into their own subcategory, -Wconstant-conversion, which is on by default. Tweak the constant folder to give better results in the invalid case of a negative shift amount. Implements rdar://problem/6792488 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118636 91177308-0d34-0410-b5e6-96231b3b80d8