ckandeler wrote:

> There are still some cases which are not supported yet:
> 
> * extracting call to function reference
> 
> ```c++
> void f(void (&F)(int)) { [[F(0);]] }
> ```
> 
> Produces `void extracted(void (const &F)(int))` and because of this `const`, 
> this can't compile.

Fixed.

> * two-dimension variable-length array in C
>   If a variable is used only in array bounds, it won't be added to extracted 
> function parameters:

This is now rejected.

https://github.com/llvm/llvm-project/pull/230046
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to