Skip to content
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

undocumented API / extern "C" { ... } not working #1979

Closed
guwirth opened this issue Nov 24, 2020 · 0 comments · Fixed by #1982
Closed

undocumented API / extern "C" { ... } not working #1979

guwirth opened this issue Nov 24, 2020 · 0 comments · Fixed by #1982
Assignees
Labels
Milestone

Comments

@guwirth
Copy link
Collaborator

guwirth commented Nov 24, 2020

The rule to check for missing APIs does not support extern "C" blocks (linkage specification). In the sample below you get a missing API warning for sample (1.3.x)

extern "C" {

/**
 * Docu
 */
extern void sample();
}
@guwirth guwirth added the bug label Nov 24, 2020
@guwirth guwirth changed the title undocumented API / extern "C" not working undocumented API / extern "C" { ... } not working Nov 29, 2020
@guwirth guwirth self-assigned this Nov 29, 2020
@guwirth guwirth added this to the 2.0.0 milestone Nov 29, 2020
guwirth added a commit to guwirth/sonar-cxx that referenced this issue Mar 26, 2021
guwirth added a commit to guwirth/sonar-cxx that referenced this issue Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant