Renaud Durlin

Results 8 comments of Renaud Durlin

In a project, we include the ".hxx" at the end of the ".h". And as the ".hxx" contains templated code, it produces an erroneous "Header does not need to be...

I guess this line can be changed into : if filename != self.filename + 'xx': This way it will only prevent a warning if foo.h include foo.hxx (and not regress...

Thanks for the report. Your analysis is correct, the problem is caused by the uniform initialization. I will try to improve the parser to handle this construct.

Yes this is parsed as a function but the parsing succeeds. Can you give more details about the problem ?

This new warning is fine for me. But I'm not sure that we really want to abort parsing the file. One solution would be to mark the file as used...

This should be fixed now :) More complex test cases will still fail because I didn't implement the full namespace lookup rules, but at least cppclean should no longer produce...

No "full namespace lookup rules" refers to cases where the using namespace is inside a namespace not in global scope. I didn't think of this pattern with the using namespace...