commit | a5b9332418f25338f118358e27303cd510d54107 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu Feb 17 11:05:49 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu Feb 17 11:05:49 2011 +0000 |
tree | cb55620c4d75353ba842dbd80ae084e6a13c47ef | |
parent | 56ca35d396d8692c384c785f9aeebcf22563fe1e [diff] |
Implement a sub-group of -Wconversion: -Wliteral-conversion. This specifically targets literals which are implicitly converted, a those are more often unintended and trivial to fix. This can be especially helpful for diagnosing what makes 'const int x = 1e6' not an ICE. Original patch authored by Jim Meehan with contributions from other Googlers and a few cleanups from myself. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125745 91177308-0d34-0410-b5e6-96231b3b80d8