Skip to content

add MISSING_HEADER hook #579

Description

@firewave

Adding a hook which provides data when MISSING_HEADER is encountered would allow Cppcheck a way to inject the macros the header defines without providing the whole code - see https://trac.cppcheck.net/ticket/13341. It would also allow for on-demand automatic library loading.

To work correctly this would also need to provide some context since the header evaluation is based on previously defined macros.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions