commit | fb5cab24e271d35e2476c5f60d28ddbabc6ac492 | [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 | 5697aa0d75c87bafec78984048d558f8d12ca1b3 [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