commit | 138bb2366baa3856088bae94f36f2d96b2c995b9 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Apr 27 19:38:14 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Apr 27 19:38:14 2010 +0000 |
tree | 9bad3eb24b139e86a1b06c75aeb06c3ea237f979 | |
parent | c96be1ea33cdf63d07cec48d18fe8e3afea48f8d [diff] |
Diagnose the use of abstract types as array element types. Previously, we were relying on checking for abstract class types when an array type was actually used to declare a variable, parameter, etc. However, we need to check when the construct the array for, e.g., SFINAE purposes (see DR337). Fixes problems with Boost's is_abstract type trait. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102452 91177308-0d34-0410-b5e6-96231b3b80d8