Fix alignment check to check the alignment of the intended type.

llvm-svn: 360997
This commit is contained in:
Richard Smith 2019-05-17 07:28:41 +00:00
parent aee9448939
commit 77483765eb
1 changed files with 1 additions and 1 deletions

View File

@ -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)