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

Empty "Unexposeds" group #573

Closed
jonlansdell opened this issue Jun 6, 2016 · 5 comments · Fixed by #577
Closed

Empty "Unexposeds" group #573

jonlansdell opened this issue Jun 6, 2016 · 5 comments · Fixed by #577
Assignees
Labels
Milestone

Comments

@jonlansdell
Copy link

When using Jazzy 0.61 and later, I'm getting an empty 'Unexposeds' Group as shown. Any suggestions as to how to fix this would be appreciated. The project is an Objective-C framework.

Thanks.

unexposed

@jpsim jpsim added the bug label Jun 6, 2016
@jpsim
Copy link
Collaborator

jpsim commented Jun 6, 2016

This looks like fallout from #562. Which unexposed declarations do you have in your interface?

Here's how clang defines unexposed declarations: http://clang.llvm.org/doxygen/group__CINDEX.html#ggaaccc432245b4cd9f2d470913f9ef0013ab6c248d25235d6188a1c56ecba85efaf

A declaration whose specific kind is not exposed via this interface.

Unexposed declarations have the same operations as any other kind of declaration; one can extract their location information, spelling, find their definitions, etc. However, the specific kind of the declaration is not reported.

Regardless, based on this definition I think we should explicitly ignore these types of declarations as they seem to be useful for compilers but not readers of API documentation.

@fluidjax
Copy link

fluidjax commented Jun 7, 2016

I can replicate this error by having just a semicolon on its own line in a header file, I think its outside of a class or interface definition, but if you put a semicolon as the first line it seems to do it.

@jonlansdell
Copy link
Author

I can confirm that removing the rogue semi-colon fixes the problem. Thanks for your help.

@esad
Copy link
Collaborator

esad commented Jun 9, 2016

Probably related/same bug: #475

@jpsim
Copy link
Collaborator

jpsim commented Jun 9, 2016

I think this is a separate bug actually.

@jpsim jpsim self-assigned this Jun 9, 2016
@jpsim jpsim closed this as completed in #577 Jun 9, 2016
@pigeondotdev pigeondotdev modified the milestone: The Past Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants