commit | 10747ff6448c87cdfd2b438042738036ecb5de86 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sat Aug 15 21:55:26 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sat Aug 15 21:55:26 2009 +0000 |
tree | fc688c5f08a0ec8903efd68c70b6f81349a9e061 | |
parent | 190f9406d5fea03448d4cae409ca4d6c046e812d [diff] [blame] |
Implement __is_empty. Patch by Sean Hunt. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79143 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplateInstantiateDecl.cpp b/lib/Sema/SemaTemplateInstantiateDecl.cpp index 3212923..b216ec1 100644 --- a/lib/Sema/SemaTemplateInstantiateDecl.cpp +++ b/lib/Sema/SemaTemplateInstantiateDecl.cpp
@@ -749,6 +749,7 @@ New->setVirtualAsWritten(true); Record->setAggregate(false); Record->setPOD(false); + Record->setEmpty(false); Record->setPolymorphic(true); } if (Tmpl->isPure()) {