Aaron Ballman
7febd78f1e
No longer diagnose __auto_type as the auto extension ( #134129 )
...
Given:
__auto_type x = 12;
decltype(auto) y = 12;
-Wc++98-compat would diagnose both x and y with:
'auto' type specifier is incompatible with C++98
This patch silences the diagnostic in those cases. decltype(auto) is
still diagnosed with:
'decltype(auto)' type specifier is incompatible with C++ standards
before C++14
as expected but no longer produces the extraneous diagnostic about use
of 'auto'.
Fixes #47900
2025-04-03 07:13:30 -04:00
..
2025-04-02 17:59:08 +02:00
2025-04-02 19:27:29 -03:00
2025-04-02 07:28:45 -04:00
2025-04-02 15:48:55 -07:00
2025-03-17 15:33:23 -07:00
2025-03-17 02:45:19 -04:00
2025-04-02 21:53:55 +00:00
2025-03-28 07:35:16 -05:00
2025-03-19 10:11:18 -07:00
2025-04-02 20:00:09 +02:00
2025-03-28 07:35:16 -05:00
2025-04-02 12:27:01 -07:00
2025-04-03 09:22:38 +02:00
2025-03-29 00:47:25 -04:00
2025-03-21 11:59:01 -04:00
2025-04-03 09:11:27 +08:00
2025-04-03 11:16:05 +01:00
2025-03-29 01:54:14 +08:00
2025-03-12 21:29:46 +00:00
2025-03-26 17:46:21 -06:00
2025-03-19 07:49:16 -04:00
2025-04-02 19:27:29 -03:00
2025-03-31 10:03:39 +02:00
2025-03-28 07:35:16 -05:00
2025-03-21 03:55:42 +01:00
2025-03-17 10:00:07 -07:00
2025-04-02 13:33:18 -07:00
2025-04-02 07:21:15 -04:00
2025-03-31 10:03:39 +02:00
2025-04-02 21:53:55 +00:00
2025-03-19 10:11:18 -07:00
2025-04-03 07:13:30 -04:00
2025-03-29 00:47:25 -04:00
2025-03-21 03:55:42 +01:00
2025-04-02 13:33:18 -07:00
2025-04-03 09:22:38 +02:00
2025-03-29 00:47:25 -04:00
2025-03-12 18:13:26 +00:00
2025-04-03 11:15:42 +08:00
2025-03-10 11:19:45 -07:00
2025-03-14 15:18:13 +00:00
2025-03-18 09:46:43 +00:00
2025-03-19 14:13:22 -07:00
2025-03-18 13:19:41 -07:00