| commit | 96969e234609db1d2d27a07d99084352b3d0804e | [log] [tgz] |
|---|---|---|
| author | Gabor Greif <ggreif@gmail.com> | Wed Mar 18 23:44:22 2009 +0000 |
| committer | Gabor Greif <ggreif@gmail.com> | Wed Mar 18 23:44:22 2009 +0000 |
| tree | ab4636b1f1a5d09f9bd2e13dbf8592def05dfae8 | |
| parent | e3ca766fa746f3c1044d95ee85aa5b50a34765cd [diff] |
Add a sugared version of ASTOwningResult::take, that does a downcast. It is named takeAs<T>(). The plain-pointer version is also added, but that side seems to be seriously bitrotten. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67258 91177308-0d34-0410-b5e6-96231b3b80d8