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

typedef support #9

Closed
Chlumsky opened this issue Dec 3, 2021 · 1 comment
Closed

typedef support #9

Chlumsky opened this issue Dec 3, 2021 · 1 comment
Labels
enhancement Enhancement of existing feature header-parser Involves the header parser

Comments

@Chlumsky
Copy link
Owner

Chlumsky commented Dec 3, 2021

Parse the typedef keyword and treat it as a valid type. Examples:

typedef std::string StringType;
typedef int FooString;

struct Foo {
    typedef StringType FooString;
    FooString bar;
};

Foo::bar is std::string and not int!

@Chlumsky Chlumsky added the enhancement Enhancement of existing feature label Dec 3, 2021
@Chlumsky Chlumsky mentioned this issue Dec 3, 2021
@Chlumsky Chlumsky added the header-parser Involves the header parser label Dec 3, 2021
@Chlumsky Chlumsky added this to Medium Priority in Development progress May 28, 2022
@Chlumsky
Copy link
Owner Author

Implemented in 4b2746e.

@Chlumsky Chlumsky moved this from Medium Priority to Finished in Development progress Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature header-parser Involves the header parser
Projects
Development

No branches or pull requests

1 participant