Nathan Sidwell
3d2080683f
[clang][DR2621] using enum NAME lookup fix
...
Although using-enum's grammar is 'using elaborated-enum-specifier',
the lookup for the enum is ordinary lookup (and not the tagged-type
lookup that normally occurs wth an tagged-type specifier). Thus (a)
we can find typedefs and (b) do not find enum tags hidden by a non-tag
name (the struct stat thing).
This reimplements that part of using-enum handling, to address DR2621,
where clang's behaviour does not match std intent (and other
compilers).
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D134283
2022-09-28 08:50:27 -07:00
..
2018-12-03 13:29:17 +00:00
2018-12-05 17:38:39 +00:00
2020-07-01 12:51:25 +08:00
2021-08-19 14:03:41 +02:00
2012-07-27 12:56:09 +00:00
2016-02-18 15:30:24 +00:00
2013-08-12 12:51:05 +00:00
2020-08-17 10:06:36 +02:00
2018-01-19 23:41:47 +00:00
2020-03-31 18:43:24 +02:00
2012-11-19 21:13:18 +00:00
2018-10-10 10:51:48 +00:00
2017-09-08 13:36:38 +00:00
2021-05-10 11:24:27 +02:00
2022-01-13 08:06:35 +01:00
2022-01-04 16:00:22 +01:00
2022-01-11 00:58:49 +01:00
2022-01-26 15:51:17 +01:00
2013-08-12 12:51:05 +00:00
2016-03-11 21:14:40 +00:00
2018-03-09 14:43:29 +00:00
2018-04-25 15:13:34 +00:00
2018-04-24 13:48:53 +00:00
2018-04-24 13:48:53 +00:00
2013-08-12 12:51:05 +00:00
2013-08-12 12:51:05 +00:00
2013-08-12 12:51:05 +00:00
2021-02-08 13:16:49 +01:00
2019-11-22 12:48:06 +01:00
2017-07-19 10:45:40 +00:00
2017-12-13 10:26:49 +00:00
2021-11-10 08:22:48 +01:00
2019-02-27 17:40:33 +00:00
2020-02-19 17:15:11 -05:00
2020-04-06 20:08:24 +02:00
2018-01-22 17:18:28 +00:00
2020-04-14 12:58:48 +02:00
2019-05-29 15:32:17 +00:00
2019-11-22 12:48:06 +01:00
2015-07-20 21:22:46 +00:00
2015-07-20 21:22:46 +00:00
2018-04-24 13:48:53 +00:00
2019-10-04 08:10:27 +00:00
2021-02-08 13:16:49 +01:00
2022-08-17 10:09:48 +02:00
2013-08-12 12:51:05 +00:00
2018-04-24 13:48:53 +00:00
2013-08-12 12:51:05 +00:00
2013-08-12 12:51:05 +00:00
2020-06-08 12:46:00 -04:00
2010-01-13 23:24:38 +00:00
2018-10-24 12:57:27 +00:00
2018-11-20 22:06:54 +00:00
2018-04-24 13:48:53 +00:00
2020-06-26 15:55:45 +02:00
2016-07-01 01:17:02 +00:00
2020-06-26 15:55:45 +02:00
2022-08-17 10:06:39 +02:00
2018-08-30 13:08:03 +00:00
2020-06-30 16:48:24 +01:00
2016-05-04 00:53:13 +00:00
2011-04-23 01:04:12 +00:00
2021-09-28 10:00:15 -07:00
2012-09-26 16:39:56 +00:00
2017-11-08 13:05:52 +00:00
2018-11-07 10:02:31 +00:00
2018-12-07 13:17:52 +00:00
2019-02-05 12:05:53 +00:00
2012-04-16 02:51:46 +00:00
2013-08-12 12:51:05 +00:00
2022-02-09 09:11:49 -05:00
2022-01-03 16:28:16 +01:00
2019-11-15 15:42:18 +01:00
2018-12-19 18:01:24 +00:00
2013-08-12 12:51:05 +00:00
2009-09-22 21:11:38 +00:00
2017-11-08 10:39:09 +00:00
2022-09-28 08:50:27 -07:00
2018-04-24 13:48:53 +00:00
2018-04-24 13:48:53 +00:00
2021-11-18 15:50:47 +01:00