commit | 5456b0fe40714a78cd0ba7c1a5b7dc34eda385af | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Oct 09 17:21:28 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Oct 09 17:21:28 2012 +0000 |
tree | 28de7800e7cf341389b8b25d5f0b055a3001c7ac | |
parent | f288d223a44fb2fa0de69b225dcdbc5f7669defd [diff] |
When we load a function or method body from an AST file, we check whether that function/method already has a body (loaded from some other AST file), as introduced in r165137. Delay this check until after the redeclaration chains have been wired up. While I'm here, make the loading of method bodies lazy. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165513 91177308-0d34-0410-b5e6-96231b3b80d8