commit | f7d72f5a4a3f0e610d77c6779ca3c21920a14bc7 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon May 03 20:22:41 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon May 03 20:22:41 2010 +0000 |
tree | a7c744f33c4d237d7d1886bcf6e0b1c43b859760 | |
parent | da5a428bf3db404fe3c91b689cd87c68789d6db9 [diff] |
When instantiating a function-local variable definition, introduce the mapping from the declaration in the template to the instantiated declaration before transforming the initializer, in case some crazy lunatic decides to use a variable in its own initializer. Fixes PR7016. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102945 91177308-0d34-0410-b5e6-96231b3b80d8