Skip to content

tool/pputil: LoadIncludes enhancement #884

Description

@xushiwei

LoadIncludes is used to list all #include directives within a C/C++ header file. The current implementation is rudimentary, simply searching for the #include string and processing it. It needs to be updated to a more robust implementation that:

  • Allows spaces or tabs between # and include;
  • Ignores #include occurrences found within comments or string literals.
    Please implement it as efficiently as possible.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions