diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-02-17 11:05:49 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-02-17 11:05:49 +0000 |
commit | 22c7a79a1da4abd46e1e2f9cbe21f4242853d8dc (patch) | |
tree | 0322740d38851d68f1a6654d06849de2e1d9772c /llvm/lib/Support/Triple.cpp | |
parent | c07a0c7e483cf6b157295dcc18bfb782e3424591 (diff) | |
download | bcm5719-llvm-22c7a79a1da4abd46e1e2f9cbe21f4242853d8dc.tar.gz bcm5719-llvm-22c7a79a1da4abd46e1e2f9cbe21f4242853d8dc.zip |
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
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
0 files changed, 0 insertions, 0 deletions