aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Option
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-05-09 21:07:43 +0000
committerJordan Rose <jordan_rose@apple.com>2013-05-09 21:07:43 +0000
commitd044f65e37f09a6c69da4d002c1e8957bd4d99c0 (patch)
tree000bf6cc3cf64d6d34f7197da326f25fe49977b7 /include/llvm/Option
parentedfef3bd27d6269d473fbc570e8c2be02b4070df (diff)
downloadexternal_llvm-d044f65e37f09a6c69da4d002c1e8957bd4d99c0.zip
external_llvm-d044f65e37f09a6c69da4d002c1e8957bd4d99c0.tar.gz
external_llvm-d044f65e37f09a6c69da4d002c1e8957bd4d99c0.tar.bz2
Rewrite assert to avoid warning when the record element type is byte-sized.
BitstreamWriter asserts that when blob data is written from the record element vector, each element fits in a byte. However, if the record elements are specified as a SmallVector of 'char', this causes a warning from -Wtautological-constant-out-of-range-compare. Fix this by using llvm::isUInt<8> instead of a plain comparison against 256. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Option')
0 files changed, 0 insertions, 0 deletions