1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/include/llvm/Bitcode
Jordan Rose e4258d9007 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.

llvm-svn: 181545
2013-05-09 21:07:43 +00:00
..
Archive.h Code Custodian: 2012-11-25 15:23:39 +00:00
BitCodes.h Code Custodian: 2012-11-25 15:23:39 +00:00
BitstreamReader.h Whitespace cleanup 2013-04-01 02:28:07 +00:00
BitstreamWriter.h Rewrite assert to avoid warning when the record element type is byte-sized. 2013-05-09 21:07:43 +00:00
LLVMBitCodes.h Add code for emitting the attribute groups. 2013-02-10 23:09:32 +00:00
ReaderWriter.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00