Ok, using dummy folder works.
I guess this is caused by a patch to fix the function argument. There is a patch supplied by visualfc, he add some code to get the "real function argument",
so, these function prototypes give the same entry.
int fun( int a = 0 );
int fun( int b = 0 );Edit:
Ok, this is a problem by add Tokens. For example, in the sample code there is something like this:
In header:
gfxScene(spsysDiagram * diagram);
In CPP:
gfxScene::gfxScene(spsysDiagram * diagram)
{
setSceneRect(QRectF(0,0,1600,1200) ); //
rightBorder = 10;
topBorder = 20;
offsetShadow = 8;
dragging = false;
linkedDiagram = diagram;
}
When the parser meet the first function prototype, it add a Token(declaration), but the argument is striped.
When the parser meet the second function implementation, it checks a Token is already exist, but it can't find one, so, he just add another Token(has both declaration and implementation in the same place)