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 | a5b9332418f25338f118358e27303cd510d54107 (patch) | |
| tree | cb55620c4d75353ba842dbd80ae084e6a13c47ef /lib/CodeGen/CGExprComplex.cpp | |
| parent | 56ca35d396d8692c384c785f9aeebcf22563fe1e (diff) | |
| download | clang-a5b9332418f25338f118358e27303cd510d54107.tar.gz clang-a5b9332418f25338f118358e27303cd510d54107.tar.bz2 clang-a5b9332418f25338f118358e27303cd510d54107.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
