Tree visitors should be used to handle empty names, to do symbol filtering and to do typedef name propagation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • repo-panama
    • Affects Version/s: repo-panama
    • Component/s: tools
    • None
    • generic
    • generic

      jextract tool handles cursor/type names in many places - to filter symbols based on user options, to handle empty names (like anon. C structs), to propagate typedef names for anon structs (eg. typedef struct { int x; int y; } Point;).

      It'd better to handle each of these steps by separate clang Tree visitor passes. Each concern will be localized and we can change policy in one place (if needed).

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: