aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-11-03 16:39:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-11-03 16:39:25 +0000
commitfca1ff0da2b1b920b3e684d1f0b6ac78b75dab32 (patch)
tree5df294dae0949c146824406d34e1784914e29040 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent0e5df9fc156b248eecc1ac54ca51518de4d8914b (diff)
downloadllvm-fca1ff0da2b1b920b3e684d1f0b6ac78b75dab32.zip
llvm-fca1ff0da2b1b920b3e684d1f0b6ac78b75dab32.tar.gz
llvm-fca1ff0da2b1b920b3e684d1f0b6ac78b75dab32.tar.bz2
Fix a bug found by inspection by PVS-Studio.
This condition is trivially always true prior to the change. The comment at the call site makes it clear that we expect *all* of these to be '=', 'S', or 'I' so fix the code. We have a bug I will update to track the fact that Clang doesn't warn on this: http://llvm.org/PR13101 llvm-svn: 285930
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions