mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
Fix warning of comparing different enums. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b1337aba53
commit
be1349596d
@ -28,7 +28,7 @@ void *MCSymbol::operator new(size_t s, const StringMapEntry<bool> *Name,
|
||||
// For safety, ensure that the alignment of a pointer is enough for an
|
||||
// MCSymbol. This also ensures we don't need padding between the name and
|
||||
// symbol.
|
||||
static_assert(AlignOf<MCSymbol>::Alignment <=
|
||||
static_assert((unsigned)AlignOf<MCSymbol>::Alignment <=
|
||||
AlignOf<NameEntryStorageTy>::Alignment,
|
||||
"Bad alignment of MCSymbol");
|
||||
void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>());
|
||||
|
Loading…
Reference in New Issue
Block a user