Fixing -Wtype-limits warnings with the asserts (the expression would always evaluate...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 13 Nov 2014 13:55:13 +0000 (13:55 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 13 Nov 2014 13:55:13 +0000 (13:55 +0000)
commitdbe68adeb2d329ff3b3b522a80aab13af10c9460
tree085bd89a72ee36a0d1f8d67ed061aaa9902fc86b
parent5f34bd9a4c8567c1f3a29566608b99d83a56e6a6
Fixing -Wtype-limits warnings with the asserts (the expression would always evaluate to true). Also fixing a -Wcast-qual warning, where the cast expression isn't required.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221888 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/StreamingMemoryObject.cpp