Skip to content

Strip AUTOSAR specific MACRO functions #523

Description

@Letme

AUTOSAR makes a mess as they define simple CONST as CONST function #define CONST(consttype, memclass) consttype const and even worse, they define FUNC macro function #define FUNC(rettype, memclass) rettype which developers then use as FUNC(void, FLSTST_CODE) FlsTst_Init(const FlsTst_ConfigType * FlsTstConfigPtr);.

So what I need to make is basically remove FUNC\( and , FLSTST_CODE\), but strippables is only able to remove words (I checked the code). Before I go all cowboyish inside the code to propose some wild change - I am hoping someone from the community has already done some unit testing on the AUTOSAR drivers?

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