Fix alignment check to check the alignment of the intended type.
llvm-svn: 360997
diff --git a/clang/lib/AST/APValue.cpp b/clang/lib/AST/APValue.cpp
index 249c382..c5db3cd 100644
--- a/clang/lib/AST/APValue.cpp
+++ b/clang/lib/AST/APValue.cpp
@@ -34,7 +34,7 @@
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)