-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API documentation on template function in template class with implementation #1025
Comments
@GMercat thx for reporting the issue. Do you have other problems using the public API sensor or is this the last issue you have? |
@guwirth Thanks for your reactivity. No, this is really the last issue i have. |
@GMercat looking to your sample:
Is that also your understanding? |
@guwirth Yes that's it. In my example, functionTest is documented twice. But whatever I do in |
@GMercat please try with latest snapshot. To be consistent you have to document ’TestClass::functionTest’. The sensor is currently not able to distinguish between declaration and definition and to detect if the one or the other has a documentation. |
@guwirth It's tested and it works ! Thanks again for your reactivity. |
Thanks for correction about #1000 issue, but i have a last issue 'Undocumented API' in a similar case.
It's the same case, but in
test.impl.h
file thefunctionTest()
templated have implementation.In test.h file:
In test.impl.h file:
In this case, i have "Undocumented API: functionTest" on TestClass::functionTest in "test.impl.h". If a remove implementation, i haven't issue.
Can you fix this in the 0.9.7 version or it's too late ?
sonarqube : v5.6.3
sonar-cxx : v0.9.7-SNAPSHOT (git commit: ac3d1d9)
The text was updated successfully, but these errors were encountered: