commit | 3d13c5a1e72ed8f8be9c083791d30643d1b1ec43 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Mar 09 01:51:51 2012 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Mar 09 01:51:51 2012 +0000 |
tree | 6c29efdfbe48d1b6141cb7ae80761e075dc5af2c | |
parent | 76aadc346c3a4c363238a1e1232f324c3355d9e0 [diff] |
[AST] Reduce Decl::getASTContext() calls. - This function is not at all free; pass it around along some hot paths instead of recomputing it deep inside various VarDecl methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152363 91177308-0d34-0410-b5e6-96231b3b80d8