Skip to content

Create iterator for ASTDeclInterface. #673

Open

Description

@anthro-poid
          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)

Activity

  1. changed the title [-]We will need something like `filed_range = llvm::iterator_range< specific_decl_iterator< vast::ASTFieldDeclInterface > >`.[/-] [+]Create iterator for `ASTDeclInterface`.[/+] on Jul 17, 2024
  2. anthro-poid commented on Jul 17, 2024

    @anthro-poid
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Clang static analyzerExperimental support of clang static analyzer over MLIR

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions