Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Volodin Evgeniy. Lab №1. Option №1. #9

Merged
merged 7 commits into from
Mar 15, 2024

Conversation

evldn
Copy link

@evldn evldn commented Mar 14, 2024

In this lab, a plugin was implemented that prints the names of all classes (structures) and their fields.
Example:

class MyClass {
    int a;
    float b;
};

Result:

MyClass
 |_a
 |_b`

@evldn
Copy link
Author

evldn commented Mar 15, 2024

The following changes have been made:

  1. The ASTContext *Context field was removed from the PrintClassVisitor class as unnecessary.
  2. The CreateASTConsumer method of the PrintClassLASTAction class now returns make_unique, not new.
  3. The help option for the plugin has been added and tested.

evldn added 7 commits March 16, 2024 02:11
…or class as unnecessary.

2. The CreateASTConsumer method of the PrintClassLASTAction class now returns make_unique, not new.
3. The help option for the plugin has been added and tested.
@aobolensk aobolensk merged commit a2de4ee into NN-complr-tech:course-spring-2024 Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants