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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions