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-12-10 19:46:33 -08:00
2020-11-08 12:07:51 -05:00
2020-11-18 10:53:41 +01:00
2020-12-15 15:14:11 -06:00
2020-12-16 15:39:50 -08:00
2020-10-19 09:44:59 +02:00
2020-12-14 13:32:38 -05:00
2020-12-01 12:06:48 +01:00
2020-12-17 18:41:12 -08:00
2020-11-16 17:39:17 -08:00
2020-12-02 19:10:01 -05:00
2020-12-18 01:08:41 -08:00
2020-12-15 10:15:58 +01:00
2020-12-15 10:15:58 +01:00
2020-12-12 18:19:02 +00:00
2020-12-12 05:48:20 -08:00
2020-10-12 01:10:09 -04:00
2020-09-21 12:42:53 -07:00
2020-12-17 23:23:05 -08:00
2020-12-17 15:39:40 -05:00
2020-12-17 22:23:42 +01:00
2020-12-15 10:15:58 +01:00
2020-12-10 16:40:15 +00:00
2020-12-11 17:07:58 -08:00
2020-12-12 15:09:17 -05:00
2020-10-13 16:47:01 -04:00
2020-10-08 10:30:54 -07:00
2020-12-17 07:45:38 -08:00
2020-12-01 22:13:40 -05:00
2020-12-17 23:54:37 -08:00
2020-12-16 12:03:31 -08:00
2020-12-09 12:22:35 -08:00
2020-12-17 13:48:54 +00:00
2020-12-18 10:28:48 +01:00
2020-12-18 07:56:17 -05:00
2020-12-14 11:53:18 -08:00
2020-12-17 23:54:37 -08:00
2020-12-17 11:43:47 -05:00
2020-12-04 15:55:29 -08:00
2020-12-10 16:40:15 +00:00
2020-11-17 14:28:52 -08:00
2020-12-07 10:42:32 -08:00
2020-12-18 01:08:41 -08:00
2020-10-19 17:48:04 -04:00
2020-12-15 07:16:54 -08:00
2020-12-01 14:00:32 -08:00
2020-11-23 13:32:29 -05:00
2020-12-01 14:00:32 -08:00