commit | d0370f59e79702ac908c81bf556519f91e9ca297 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Jan 27 08:17:49 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Jan 27 08:17:49 2011 +0000 |
tree | 3125cbd70936ba0f1334494b52d706c4e76c2e1f | |
parent | dfbb02a16ac8c764b5ba1742450513d6212d2f9f [diff] |
Provide Type::castAs<>, which is to getAs<> what cast<> is to dyn_cast<>. Also provide a method to grab the base element type of a type without stressing out over qualifiers (but give it a nice scary name). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124367 91177308-0d34-0410-b5e6-96231b3b80d8