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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-panama
    • repo-panama
    • 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).

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

              Created:
              Updated:
              Resolved: