Clément Foucault
36b02c3815
GPUSource: Fix failure case in the enum preprocessor
...
Some C headers might define the typedefs of the enum themselves.
Even if they are guarded by preprocessor `#if`, our enum preprocessor
has no idea of the validity of the statement. So we just bypass
if there is a typedef just before any `enum` keywords.
Note that the typedef matching is quite fragile.
2022-03-19 22:05:34 +01:00
..
2022-03-18 20:59:27 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-22 13:57:05 +01:00
2022-02-11 09:14:36 +11:00
2022-03-15 16:04:41 +01:00
2022-03-15 16:04:41 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-03-18 20:59:27 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-03-11 18:27:58 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-26 02:15:22 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-12 21:52:24 -08:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-12 21:52:24 -08:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-03-18 20:53:52 +01:00
2022-03-18 20:53:52 +01:00
2022-02-23 18:24:37 +11:00
2022-03-19 22:05:34 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-03-18 20:49:22 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-03-18 20:59:20 +01:00
2022-03-18 20:59:20 +01:00
2022-03-18 20:59:44 +01:00
2022-03-18 20:59:44 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-03-09 10:13:43 +11:00
2022-02-17 18:15:31 +01:00