travisstaloch 4aa8462cc9
std.zig: fix integer overflows during parsing
these were found while fuzzing zls.

this patch prevents overflow for the following file contents and adds
tests for them.
	* `enum(u32)` - causes overflow in std.zig.Ast.fullContainerDecl()
	* `*x` - causes overflow in std.zig.Ast.fullPtrType()
	* `**x` - causes overflow in std.zig.Ast.firstToken()
2022-12-20 17:33:40 +02:00
..
2022-12-16 18:31:48 +01:00
2022-12-14 14:26:02 -07:00
2022-12-14 14:26:02 -07:00
2022-11-30 15:42:59 -07:00
2022-10-06 21:22:20 +03:00
2022-12-13 15:04:03 -05:00
2022-12-18 01:46:09 -05:00
2022-12-13 13:14:20 +02:00
2022-12-09 21:57:17 +01:00
2022-11-04 00:09:27 +03:30
2022-12-16 18:14:12 +02:00
2022-12-14 11:42:28 -05:00
2022-12-13 13:14:20 +02:00
2022-12-14 14:26:02 -07:00
2022-01-07 00:06:06 -05:00
2022-12-06 12:27:28 -07:00
2022-09-11 23:18:43 -04:00
2022-12-15 00:56:26 -08:00
2022-12-18 22:11:26 -05:00
2022-12-18 01:41:56 +02:00
2022-11-23 19:17:58 +01:00
2022-12-13 13:14:20 +02:00
2022-04-15 17:01:01 -05:00