Skip to content

Add an UsingDecl AST node #1758

@deadlocklogic

Description

@deadlocklogic

I am just trying to iterate around parsed AST entities in ILibrary::Preprocess().
Simple example:

struct Base {
private:
	void test() {}
};

Now you might ask why you need private or protected members?
Simple answer:
Consider the following:

struct Child : Base {
	using Base::test;
};

Now Base::test() should be accessible in the binding generator.

@tritao After fixing this, you can consider adding a Pass which imports all these hidden members (functions/classes/variables/templates etc...) in the inherited hierarchies.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions