diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-06-30 17:20:14 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-06-30 17:20:14 +0000 |
commit | b33fe2ff12676bff9db595fdf77e29014d7ba397 (patch) | |
tree | deba668430364d13f17ccb4dc34fdd650560eaa0 /lib/Sema/SemaDeclCXX.cpp | |
parent | 5f6c19419184da428ad8982c1a5d706dbf4896ed (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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions