summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/template-default-args/module.modulemap
Commit message (Collapse)AuthorAgeFilesLines
* [modules] When picking one of two template declarations as a lookup result,Richard Smith2015-09-111-0/+3
| | | | | | | | it's not sufficient to prefer the declaration with more default arguments, or the one that's visible; they might both be visible, but one of them might have a visible default argument where the other has a hidden default argument. llvm-svn: 247486
* [modules] Track all default template arguments for a given parameter acrossRichard Smith2015-06-101-1/+5
| | | | | | | modules, and allow use of a default template argument if any of the parameters providing it is visible. llvm-svn: 239485
* Revert accidentally-committed test change from r239447.Richard Smith2015-06-101-5/+1
| | | | llvm-svn: 239452
* Refactor storage of default template arguments.Richard Smith2015-06-101-1/+5
| | | | | | | This is just a preparatory step towards fixing visibility for default template arguments in modules builds. llvm-svn: 239447
* [modules] Fix some visibility issues with default template arguments.Richard Smith2015-06-091-0/+1
There are still problems here, but this is a better starting point. The main part of the change is: when doing a lookup that would accept visible or hidden declarations, prefer to produce the latest visible declaration if there are any visible declarations, rather than always producing the latest declaration. Thus, when we inherit default arguments (and other properties) from a previous declaration, we inherit them from the previous visible declaration; if the previous declaration is hidden, we already suppress inheritance of default arguments. There are a couple of other changes here that fix latent bugs exposed by this change. llvm-svn: 239371
OpenPOWER on IntegriCloud