diff options
| author | David Blaikie <dblaikie@gmail.com> | 2012-04-09 16:29:35 +0000 | 
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2012-04-09 16:29:35 +0000 | 
| commit | e6b6fae8ffdbaa38bf88a0d5d207c02df3ab22c5 (patch) | |
| tree | 5b64af72cf0d060ba22e43cd48da77a48edd1bc7 /llvm/lib/Object/Object.cpp | |
| parent | 8f62b3248ed3600358ce7b265776e615a519b1f4 (diff) | |
| download | llvm-e6b6fae8ffdbaa38bf88a0d5d207c02df3ab22c5.zip llvm-e6b6fae8ffdbaa38bf88a0d5d207c02df3ab22c5.tar.gz llvm-e6b6fae8ffdbaa38bf88a0d5d207c02df3ab22c5.tar.bz2 | |
Fix accidentally constant conditions found by uncommitted improvements to -Wconstant-conversion.
A couple of cases where we were accidentally creating constant conditions by
something like "x == a || b" instead of "x == a || x == b". In one case a
conditional & then unreachable was used - I transformed this into a direct
assert instead.
llvm-svn: 154324
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions
