commit | ad579916bc402cf617793e94770bab78e9bdaec8 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Apr 25 18:39:17 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Apr 25 18:39:17 2012 +0000 |
tree | f1d15d2facdb08b65d311c8f98daebfa2c1cb878 | |
parent | 5d59b79c2fd8783900e52cf2dd6add5d3627b2fc [diff] |
When resolving default template arguments, it should be done in the declaration context of the template what we are going to instantiate. Fixes various crashes of rdar://11242625 & http://llvm.org/PR11421. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155576 91177308-0d34-0410-b5e6-96231b3b80d8