commit | 59600d80b7e34e819cd25dd67f661aa1f3d9099d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Sep 10 17:44:23 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Sep 10 17:44:23 2009 +0000 |
tree | 04a21648107a2e0fdd65092187529722b11d8823 | |
parent | e942bbe02b6fb332d1f13d38c6e1980b416cf89a [diff] |
static_cast, reinterpret_cast, and const_cast can all be used in C++ integral constant expressions (for conversions to integer types, naturally). I don't *think* that const_casts will ever get to this point, but I also can't convince myself that they won't... so I've taken the safe route and allowed the ICE checking code to look at const_cast. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81453 91177308-0d34-0410-b5e6-96231b3b80d8