| commit | 213bea336161eb06e94b8c02d2a9ab4869c8f983 | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Mon Nov 16 06:58:51 2015 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Mon Nov 16 06:58:51 2015 +0000 |
| tree | 4cf92b9f02e38399af94ade2e82f03f86223338f | |
| parent | 2ac0c270017fb1c2fa1a894b9e2f96b96dca3423 [diff] |
[Sema] Implement several unary type traits more accurately is_empty, is_polymorphic, and is_abstract didn't handle incomplete types correctly. Only non-union class types must be complete for these traits. is_final and is_sealed don't care about the particular spelling of the FinalAttr. is_interface_class should always return false regardless of its input. The type trait can only be satisfied in a mode we do not support (/CLR). llvm-svn: 253184