Open
Description
Reproduce code:
int func(int n) {
return sizeof(int [n]);
}Clang issue a VLA usage twice instead of once.
I am currently working on VLA and VM type checking in clang and I am going to solve this bug by myself. I guess this may be caused by evaling runtime sizeof expressions required to call Sema::BuildArrayType twice.
Activity