David Blaikie
aa3bf6ce72
Modules: Search for a visible definition of the decl context when computing visibility of a default template parameter
...
The code is/was already correct for the case where a parameter is a
parameter of its enclosing lexical DeclContext (functions and classes).
But for other templates (alias and variable templates) they don't create
their own scope to be members of - in those cases, they parameter should
be considered visible if any definition of the lexical decl context is
visible.
[this should cleanup the failure on the libstdc++ modules buildbot]
[this doesn't actually fix the variable template case for a
secondary/compounding reason (its lexical decl context is incorrectly
considered to be the translation unit)]
Test covers all 4 kinds of templates with default args, including a
regression test for the still broken variable template case.
Reviewers: rsmith
Differential Revision: https://reviews.llvm.org/D60892
llvm-svn: 358795
2019-04-19 23:02:30 +00:00
..
2018-06-27 20:29:36 +00:00
2018-07-18 23:21:19 +00:00
2018-03-20 22:36:39 +00:00
2017-06-01 20:01:01 +00:00
2018-04-27 18:01:23 +00:00
2017-11-02 22:28:50 +00:00
2017-06-05 22:29:36 +00:00
2018-02-24 06:54:09 +00:00
2018-02-14 19:01:03 +00:00
2017-05-23 23:53:17 +00:00
2018-09-20 19:00:03 +00:00
2018-04-17 11:08:05 +00:00
2017-07-01 00:06:47 +00:00
2018-06-25 22:24:17 +00:00
2017-06-02 01:55:39 +00:00
2019-03-09 17:44:01 +00:00
2018-02-12 23:43:21 +00:00
2017-12-22 02:53:30 +00:00
2018-06-15 20:13:28 +00:00
2017-08-12 01:38:26 +00:00
2018-06-01 01:26:18 +00:00
2017-06-29 19:42:35 +00:00
2018-10-24 00:06:02 +00:00
2019-04-19 23:02:30 +00:00
2018-09-15 01:21:15 +00:00
2018-04-30 22:57:02 +00:00
2018-06-28 13:28:44 +00:00
2018-02-22 05:50:29 +00:00
2018-09-14 01:15:28 +00:00
2017-06-26 19:39:25 +00:00
2017-06-29 02:19:42 +00:00
2018-06-30 00:49:27 +00:00
2019-03-09 17:44:01 +00:00
2019-03-06 02:50:46 +00:00
2018-03-21 21:28:54 +00:00
2018-01-05 02:33:18 +00:00
2018-01-05 02:33:18 +00:00
2018-11-14 01:08:03 +00:00
2018-05-02 02:25:03 +00:00
2018-09-12 23:09:23 +00:00
2014-03-02 05:58:18 +00:00
2012-12-11 22:11:52 +00:00
2018-01-03 19:10:21 +00:00
2016-08-22 22:23:58 +00:00
2016-08-22 22:23:58 +00:00
2016-04-20 23:59:32 +00:00
2017-07-19 00:09:58 +00:00
2015-09-20 16:51:35 +00:00
2015-09-20 16:51:35 +00:00
2011-12-16 03:12:41 +00:00
2011-12-14 16:03:29 +00:00
2012-01-06 17:19:32 +00:00
2014-12-11 20:50:24 +00:00
2014-12-11 20:50:24 +00:00
2018-02-09 01:15:13 +00:00
2015-07-14 02:40:33 +00:00
2015-07-14 02:06:01 +00:00
2012-12-11 22:11:52 +00:00
2015-03-09 23:46:50 +00:00
2017-09-14 23:38:44 +00:00
2015-11-03 18:33:07 +00:00
2015-07-02 13:19:48 +00:00
2013-05-20 13:49:41 +00:00
2017-08-11 12:06:52 +00:00
2014-08-09 01:24:07 +00:00
2013-02-12 23:36:21 +00:00
2013-02-07 19:15:44 +00:00
2013-02-12 23:36:21 +00:00
2012-01-25 00:59:09 +00:00
2013-06-21 00:22:44 +00:00
2013-06-21 00:20:25 +00:00
2016-04-29 19:04:05 +00:00
2016-04-29 19:04:05 +00:00
2016-04-29 19:04:05 +00:00
2016-04-29 19:04:05 +00:00
2014-12-10 03:09:48 +00:00
2011-12-20 18:11:52 +00:00
2018-04-05 12:54:00 +00:00
2015-07-08 21:15:32 +00:00
2016-03-14 17:52:37 +00:00
2016-10-03 21:26:46 +00:00
2017-05-17 11:08:36 +00:00
2014-09-10 21:29:41 +00:00
2014-03-05 20:51:45 +00:00
2014-03-05 20:51:45 +00:00
2018-03-19 17:38:40 +00:00
2018-03-19 17:38:40 +00:00
2015-09-15 18:51:56 +00:00
2015-09-15 18:51:56 +00:00