Aaron Ballman
2d2498ec6c
No longer reject tag declarations in the clause-1 of a for loop.
...
We currently reject this valid C construct by claiming it declares a
non-local variable: for (struct { int i; } s={0}; s.i != 0; s.i--) ;
We expected all declaration in the clause-1 declaration statement to be
a local VarDecl, but there can be other declarations involved such as a
tag declaration. This fixes PR35757.
2020-12-18 07:56:17 -05:00
..
2020-10-19 17:48:04 -04:00
2020-12-15 16:51:34 -06:00
2020-11-15 12:58:36 +00:00
2019-01-19 08:50:56 +00:00
2020-11-16 14:10:19 -05:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2020-08-07 09:58:23 -04:00
2020-07-22 12:46:12 -07:00
2020-04-02 13:18:56 +01:00
2020-05-06 09:11:59 -04:00
2019-03-25 00:53:10 +00:00
2020-10-25 06:46:25 -07:00
2020-12-15 15:14:11 -06:00
2020-11-13 14:02:57 +01:00
2020-12-17 11:43:47 -05:00
2020-03-11 20:47:11 -07:00
2020-11-19 11:18:35 +00:00
2020-12-17 13:19:27 -05:00
2020-12-07 17:19:20 -05:00
2020-12-17 23:23:05 -08:00
2019-01-19 08:50:56 +00:00
2020-12-16 14:42:07 -05:00
2020-12-02 10:15:56 -05:00
2019-08-14 23:04:18 +00:00
2020-12-17 23:23:05 -08:00
2020-12-17 11:43:47 -05:00
2020-12-03 15:26:06 -08:00
2020-12-04 15:55:34 -08:00
2020-10-15 16:58:47 -07:00
2020-12-18 01:08:42 -08:00
2020-12-18 01:08:42 -08:00
2020-12-07 14:48:41 -08:00
2020-12-07 17:19:20 -05:00
2019-01-19 08:50:56 +00:00
2020-11-22 20:51:57 +01:00
2020-12-16 20:02:49 -06:00
2020-12-18 01:08:41 -08:00
2020-11-02 15:11:51 -05:00
2020-09-14 12:15:21 +07:00
2020-12-16 20:02:49 -06:00
2020-12-18 01:08:41 -08:00
2020-06-27 01:34:57 -07:00
2020-12-18 07:56:17 -05:00
2020-10-19 17:48:04 -04:00
2020-11-13 10:29:44 -08:00
2020-10-19 17:48:04 -04:00
2020-12-18 01:08:41 -08:00
2020-12-18 01:08:41 -08:00
2020-12-18 01:08:41 -08:00
2020-12-10 17:01:44 -08:00
2020-12-18 01:08:41 -08:00
2020-12-18 01:08:42 -08:00
2020-12-18 01:08:41 -08:00
2019-07-29 23:12:48 +00:00
2019-07-29 23:12:48 +00:00
2020-10-08 11:42:21 -04:00