forked from OSchip/llvm-project
Fix alignment check to check the alignment of the intended type.
llvm-svn: 360997
This commit is contained in:
parent
aee9448939
commit
77483765eb
|
@ -34,7 +34,7 @@ void TypeInfoLValue::print(llvm::raw_ostream &Out,
|
|||
|
||||
static_assert(
|
||||
1 << llvm::PointerLikeTypeTraits<TypeInfoLValue>::NumLowBitsAvailable <=
|
||||
alignof(const Type *),
|
||||
alignof(Type),
|
||||
"Type is insufficiently aligned");
|
||||
|
||||
APValue::LValueBase::LValueBase(const ValueDecl *P, unsigned I, unsigned V)
|
||||
|
|
Loading…
Reference in New Issue