summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-function-params.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve diagnostics when printing a template instantiation backtraceDouglas Gregor2010-03-301-1/+1
| | | | | | | | | | involving substitution of deduced template arguments into a class template partial specialization or function template, or when substituting explicitly-specific template arguments into a function template. We now print the actual deduced argument bindings so the user can see what got deduced. llvm-svn: 99923
* Add another test for weird substitutions into function types during template ↵Douglas Gregor2010-03-251-0/+13
| | | | | | argument deduction llvm-svn: 99510
* Improve our handling of local instantiation scopes in two related ways:Douglas Gregor2010-03-251-0/+11
| | | | | | | | | | | | | | | - When substituting template arguments as part of template argument deduction, introduce a new local instantiation scope. - When substituting into a function prototype type, introduce a new "temporary" local instantiation scope that merges with its outer scope but also keeps track of any additions it makes, removing them when we exit that scope. Fixes PR6700, where we were getting too much mixing of local instantiation scopes due to template argument deduction that substituted results into function types. llvm-svn: 99509
* Each non-local class instantiation is its own local instantiationDouglas Gregor2010-03-241-0/+33
scope. Fixes PR6619. llvm-svn: 99377
OpenPOWER on IntegriCloud