projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee9448
)
Fix alignment check to check the alignment of the intended type.
author
Richard Smith
<richard-llvm@metafoo.co.uk>
Fri, 17 May 2019 07:28:41 +0000
(07:28 +0000)
committer
Richard Smith
<richard-llvm@metafoo.co.uk>
Fri, 17 May 2019 07:28:41 +0000
(07:28 +0000)
llvm-svn: 360997
clang/lib/AST/APValue.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/APValue.cpp
b/clang/lib/AST/APValue.cpp
index 249c382f893eb039070eafbd99af78745b4ae5c0..c5db3cd582d050936ce745207595c82ceca39a5e 100644
(file)
--- a/
clang/lib/AST/APValue.cpp
+++ b/
clang/lib/AST/APValue.cpp
@@
-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)