Skip to content

protodef should not look at names of parameters when making stubs #5

Description

@metellius

If I have test.h

class Test
 {
     void aa(int c);
 };

and test.cpp

#include "test.h"

void Test::aa(int b)
{
}

void Test::aa(int)
{
}

protodef would then generate yet another aa method even though two of them already exist.
What is needed for having protodef only look at the signatures of the function and ignore the parameter names?
If you gave me some pointers in where to start, I could even try to take on this task myself, because it is the only thing keeping me from using protodef at work (right now it's generating way too many functions that already exist, and I won't do an enormous commit in our project just for having protodef work)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions