Be a bit more defensive about setting the temporary base location
commit31d94f387754bd693db2f8853dd98482f8aa37dc
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 25 Jan 2011 17:51:48 +0000 (25 17:51 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Tue, 25 Jan 2011 17:51:48 +0000 (25 17:51 +0000)
tree5382f98a8c1f52cc497e23895a09d7abba3fef7a
parent6c0b1dbae3379b044da017ada6fc9fc03b88e29a
Be a bit more defensive about setting the temporary base location
during template instantiation. This code needs to eventually die, but
this little tweak fixes PR8629, where bad location information slipped
through to the location of a class template instantiation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124199 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h