As far as I know, CC is not smart enough to do it for. For example: If I declare some member methods like:
///////////////////////////
class Coo
{
int foo1(int a, int b);
int foo2(char const*);
int foo3(int age /* some comment*/, int b);
};
///////////////////////////
and defind those methods like:
int Coo::foo1(int a
, int b) //b start on a new line
{}
int Coo::foo2(const char* p)
{}
int Coo::foo3(int age, int bbb)
{}
then all of those function will appears 2 times on the tips windows.
nanyu: you should be punished and humiliated in public for writing such code :lol:
no, no, no.....
look at the first sample:
I am used to add the comments of it's parameters when declare a function :
int foo1(int aaa //comments of aaa
, int bbb //comments of bbb
, char const* ccc //comments of ccc
, Coo const* ddd //comments of ddd
);
But a clear version for imp :
int foo1(int aaa, int bbb, char const* ccc, Coo const* ddd)
{
}
I thinks it was not a hard thing that cc do a filtting.