Files
zig/src
Evan Haas 294ee1bbc9 translate-c: add limited OffsetOfExpr support
Add support for OffsetOfExpr that contain exactly 1 component, when that component
is a field.

For example, given:

```c
struct S {
  float f;
  double d;
};
struct T {
  long l;
  int i;
  struct S s[10];
};
```

Then:
```c
offsetof(struct T, i)       // supported
offsetof(struct T, s[2].d)  // not supported currently
```
2021-02-28 21:56:57 +02:00
..
2021-02-24 21:54:23 -07:00
2021-02-19 00:04:31 -07:00
2021-02-24 21:54:23 -07:00
2021-02-10 11:50:55 -08:00
2020-12-17 19:32:40 +01:00
2020-09-21 18:38:55 -07:00
2018-10-27 11:35:01 -04:00
2021-01-23 18:18:07 -07:00
2021-01-23 18:18:07 -07:00