Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210860

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: repo-panama
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: