diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-02-01 21:35:00 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-02-01 21:35:00 +0000 |
commit | 123063377428540752bad91c7fbd536a762e31bd (patch) | |
tree | f131a156bf0b3912bc02dd7adaf4898c01c8a119 /lib/CodeGen | |
parent | d1b6c770bea9b3da66c6c1eb9a7c483ed7e55c1e (diff) |
Notes
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp index b95b4fff57342..adb40c8c0d478 100644 --- a/lib/CodeGen/CodeGenTypes.cpp +++ b/lib/CodeGen/CodeGenTypes.cpp @@ -737,7 +737,7 @@ CodeGenTypes::getCGRecordLayout(const RecordDecl *RD) { } bool CodeGenTypes::isPointerZeroInitializable(QualType T) { - assert (T->isAnyPointerType() && "Invalid type"); + assert((T->isAnyPointerType() || T->isBlockPointerType()) && "Invalid type"); return isZeroInitializable(T); } |