Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cxx: extract reference tags #3535

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Apr 30, 2023

  1. Cxx: extract reference tags

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    184973b View commit details
    Browse the repository at this point in the history
  2. Cxx: fill scope fields of unknown/ref tags

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    834cfca View commit details
    Browse the repository at this point in the history
  3. Cxx: add a helper function for resetting kind, role, and scope

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    81b9bad View commit details
    Browse the repository at this point in the history
  4. Cxx: add "initialized" role to "member" kind

        struct opt file_ops {
          .read  = file_read,
          .write = file_write,
        };
    
    The parser extracts "read" and "write" with "initialized"
    role of "member" kind.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    992c772 View commit details
    Browse the repository at this point in the history
  5. Cxx: add "value" role to "unknown" kind

        struct opt file_ops {
          .read  = file_read,
          .write = file_write,
        };
    
    The parser with this change extracts "file_read" and
    "file_write" with "value" role of "unknown" kind.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    51e317e View commit details
    Browse the repository at this point in the history
  6. Cxx: add "defvar" role to "unknown" kind

        struct opt file_ops {
          .read  = file_read,
          .write = file_write,
        };
    
    The parser with this change extracts "opt" with "defvar"
    role of "unknown" kind.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    6301118 View commit details
    Browse the repository at this point in the history
  7. Cxx: add "applied" role to "unknown" kind

        #include <stdio.h>
        int main(void)
        {
            return puts("hello, world\n");
        }
    
    The parser with this change extracts "puts" with "applied"
    role of "unknown" kind.
    
    TODO: consider sub parsers.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    ef7e809 View commit details
    Browse the repository at this point in the history