Correct an assertion: sizeof() is in bytes

Swift SVN r14644
This commit is contained in:
Dmitri Hrybenko
2014-03-04 15:12:02 +00:00
parent 8038a03e68
commit 5a2d367fe2

View File

@@ -68,7 +68,7 @@ namespace {
void EmitData(raw_ostream &out, key_type_ref key, data_type_ref data,
unsigned len) {
static_assert(sizeof(DeclID) <= 32, "DeclID too large");
static_assert(sizeof(DeclID) <= 4, "DeclID too large");
using namespace clang::io;
for (auto entry : data) {
Emit8(out, entry.first);