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
I think we are already able to parse all non functional macros. Since we create a new cpp file and create variables for each macro and let libclang handle parsing and simply fetch that variable's value.
Any functional macros would require us to parse the underlying tokens directly.
Edit: I assume we're talking about parsing functional macros as helper functions in dart, anything constant at compile time should probably already work (unless there's an issue with include headers)
We have support for macros that are direct constants:
But maybe we can do better and try to support more expressions and macros referring to macros.
Maybe @mannprerak2 can give some insight on what would or would not be possible.
We're happy to receive contributions if anyone wants to take a stab at this. Relevant code:
The text was updated successfully, but these errors were encountered: