mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:25:07 +00:00
LibCpp: Support for parsing c-style fixed arrays (arr[2])
Also adds tests for finding declaration of arrays inside CppComprehension which requires proper parsing for passing. Side-effect of this patch: if we ctrl+click on array variables, it should jump to the correct declaration inside HackStudio.
This commit is contained in:
parent
34b04271f4
commit
ac435f914c
7 changed files with 184 additions and 8 deletions
|
@ -0,0 +1,3 @@
|
|||
void foo() {
|
||||
int x[0] = {1,2};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue