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

Create iterator for ASTDeclInterface. #673

Open
anthro-poid opened this issue Jul 17, 2024 · 1 comment
Open

Create iterator for ASTDeclInterface. #673

anthro-poid opened this issue Jul 17, 2024 · 1 comment
Assignees
Labels
Clang static analyzer Experimental support of clang static analyzer over MLIR

Comments

@anthro-poid
Copy link
Contributor

          We will need something like `filed_range = llvm::iterator_range< specific_decl_iterator< vast::ASTFieldDeclInterface > >`.

This might be more complex so create it an issue and lets resolve it later. Keep vector for now.

Originally posted by @xlauko in #661 (comment)

@anthro-poid anthro-poid changed the title We will need something like filed_range = llvm::iterator_range< specific_decl_iterator< vast::ASTFieldDeclInterface > >. Create iterator for ASTDeclInterface. Jul 17, 2024
@anthro-poid
Copy link
Contributor Author

Some methods in the ASTDeclInterface interfaces need to return iterable objects. Currently, std::vector is used as a temporary solution, but it is not an optimal solution. A suitable solution is to create a special iterator for these interfaces.

@lkorenc lkorenc added the Clang static analyzer Experimental support of clang static analyzer over MLIR label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clang static analyzer Experimental support of clang static analyzer over MLIR
Projects
None yet
Development

No branches or pull requests

2 participants