TwoClocks
TwoClocks
Firstly, thanks for doing this. I'm trying to get my head around Rust's async/await code, and this is very helpful. If I read this correctly, every call to fahrenheit::run() creates...
#332 If a typedef has attributes and so does decl it refers to, only take the attributes from the "top" typedef. This just ignores all attributes on the referred decl....
A collection of issues related correct record layout for all platforms/compilers. - [x] #331 - [x] #332 - [x] #361 - [ ] #367 - [x] #381 - [x] Do...
This works running `clang-14 -c --target=i386-linux-gnu test.c` ```c typedef long long b; _Static_assert(sizeof(b) == 8, ""); _Static_assert(_Alignof(b) == 4, ""); ``` but arocc thinks the alignment is 8
for the following struct ```c __declspec(align(2)) typedef struct { int a; #ifdef MSVC } X; ``` `ty.requestedAlignment()` returns null.
MSVC is ok w/ this according to compiler explorer ```c typedef int J[]; #pragma pack(1) struct J_packed { J a; }; _Static_assert(sizeof(J) == 0, ""); _Static_assert(_Alignof(J) == 4, ""); ```...
if you copy the `arocc` bin and a `c` file out of the project directory, it fails with `fatal error: unable to find Aro builtin headers` It looks like `Complation.defineSystemIncludes`...
MSVC seems to walk down the type stack. ```c __declspec(align(8)) typedef int I1; __declspec(align(1)) typedef I1 I2; _Static_assert(sizeof(I1) == 4, ""); _Static_assert(_Alignof(I1) == 8, ""); _Static_assert(sizeof(I2) == 4, ""); _Static_assert(_Alignof(I2)...
Add a unit test that shows bugs with MappedBytes, slices and moving them independently. See #512 for issue.
As I've been adding more overrides, at some point I've made enough changes that I just want to skip the defaults. I'd assumed I just needed to change `bindingOverrides` to...