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

[diff.mods.to.headers] De-index non-existent headers #1878

Merged
merged 1 commit into from Dec 6, 2017

Conversation

AlisdairM
Copy link
Contributor

Three C11 headers are called out as not being part of C++.
They should not be listed in the index of headers, which
currently points to the two places that explicitly state
these headers do not exist.

Three C11 headers are called out as not being part of C++.
They should not be listed in the index of headers, which
currently points to the two places that explicitly state
these headers do not exist.
@tkoeppe tkoeppe merged commit 74e220a into cplusplus:master Dec 6, 2017
@jensmaurer
Copy link
Member

jensmaurer commented Dec 6, 2017

@tkoeppe: Ahem. Shouldn't we leave those headers in the main index? \indexhdr puts them in the main index AND the library header index.

@tkoeppe
Copy link
Contributor

tkoeppe commented Dec 6, 2017

@jensmaurer: I'm sympathetic to the idea of not indexing things that aren't part of C++. The PR wanted to do that; it was I who renamed the commit message to erroneously refer only to the header index. Sorry for that, I'll force-push and amendment.

tkoeppe pushed a commit that referenced this pull request Dec 6, 2017
…1878)

Three C11 headers are called out as not being part of C++.
They should not be listed in the index of headers, which
currently points to the two places that explicitly state
these headers do not exist.
@jensmaurer
Copy link
Member

@tkoeppe: "not indexing things that aren't part of C++": Why? Someone coming from C might want to ask the question "where did stdatomic.h go in C++" and look in the main index for that. Well, even the header index would maybe benefit from a "see" reference.

@AlisdairM AlisdairM deleted the deindex_nonexistent_headers branch December 6, 2017 14:43
@tkoeppe
Copy link
Contributor

tkoeppe commented Dec 6, 2017

@jensmaurer: ...meh, maybe. I'm not convinced. If someone comes up complaining that they can't figure out what happened to <stdnoreturn.h>, I'll gladly reconsider, but I'd rather be rid of this otherwise.

@W-E-Brown
Copy link
Contributor

W-E-Brown commented Dec 6, 2017 via email

@tkoeppe
Copy link
Contributor

tkoeppe commented Dec 6, 2017

As discussed with @zygoloid, since these are not C++ headers, they have no place in the C++ header index. I will add re-add main index entries for the headers, though, to make them findable again.

@tkoeppe
Copy link
Contributor

tkoeppe commented Dec 6, 2017

I have altered the index.

@W-E-Brown
Copy link
Contributor

W-E-Brown commented Dec 6, 2017 via email

@jensmaurer
Copy link
Member

@tkoeppe: Thank you.

@AlisdairM
Copy link
Contributor Author

Thanks Thomas - that more accurately reflects my original intent as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants