| commit | 22c7a79a1da4abd46e1e2f9cbe21f4242853d8dc | [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 | 0322740d38851d68f1a6654d06849de2e1d9772c | |
| parent | c07a0c7e483cf6b157295dcc18bfb782e3424591 [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. llvm-svn: 125745