| commit | dda7ced32ed79f4d60e89d2b64cd2ee041b66616 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Tue Jun 30 17:20:14 2009 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Tue Jun 30 17:20:14 2009 +0000 |
| tree | 32e37d6a4b2d613fe7a8f07f4647c2b50a133158 | |
| parent | b2b37c62d0dc22089889321a5cd1676e4f70f78c [diff] |
When recursively instantiating function templates, keep track of the instantiation stack so that we provide a full instantiation backtrace. Previously, we performed all of the instantiations implied by the recursion, but each looked like a "top-level" instantiation. The included test case tests the previous fix for the instantiation of DeclRefExprs. Note that the "instantiated from" diagnostics still don't tell us which template arguments we're instantiating with. llvm-svn: 74540