Skip to content

Enforce member variable naming schema #590

Description

@TimoSteuerwaldETAS

What

To my understanding (may be this needs clarification @NicolasFussberger ), we are using this naming schema for member variable
my_member_variable_

However in alive_monitor code (and most probably also somewhere else) for historical reasons there are also other styles used, like m_recovery_client or _my_member_variable.

So the task here is to unify this with a clang-tidy rule. Also make sure that introduction of wrongly named variables is not possible. Normally this should work out of the box, as clang-tidy is executed as pre-commit hook.

Acceptance Criteria (DoD)

  • Unified naming schema
  • Introduction of invalid named member variables is impossible (as long as precommit hook is not skipped)

How

No response

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

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions