commit | 80cd64a8450d8e2c079dc134d9711cd45ba89d63 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Jan 29 01:45:37 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Jan 29 01:45:37 2010 +0000 |
tree | 777e1d7b821e37c7e12d23c3fca4a22919bab37b | |
parent | da51f0d136df131a0137c0ec1069fb586d8a296a [diff] |
Do a little magic and a little greasework to make it much more efficient to cast a DeclContext down to a specific implementation class. There are still lots of calls to Decl::castFromDeclContext left, mostly arising from DeclContext::getParent(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94786 91177308-0d34-0410-b5e6-96231b3b80d8