You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
// FIXME: add support for the remaining ones.
// FP f5(FP a, int b) { return a + b; }
// FP f5_1(FP a, int b) { return (a += b); }
// FP f6(int a, FP b) { return a + b; }
// FP f6_1(int a, FP b) { return (a += b); }
// FP f7(FP a, int b) { return a - b; }
// FP f7_1(FP a, int b) { return (a -= b); }
// void f8(void *a, int b) { return *(a + b); }
// void f8_1(void *a, int b) { return a[b]; }
These are really good first issues to tackle.
The text was updated successfully, but these errors were encountered:
In this PR, we support for dereferencing void pointers as a GNU C
extension. This include two modification:
- In CIRGen, we support to build ReturnStmt with void return type.
- In LowerToLLVM, we support to lower CIR load with void result type to
LLVM.
It's a part of #579, since I would
like to split it to two tasks:
- support pointer arithmetic for function types (#594)
- **support to dereference void pointer (this PR)**
From
clang/test/CIR/CodeGen/pointer-arith-ext.c
:These are really good first issues to tackle.
The text was updated successfully, but these errors were encountered: