Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[libc++] Deprecate and remove meaningless
<cxxx>
headers #111615[libc++] Deprecate and remove meaningless
<cxxx>
headers #111615Changes from 19 commits
cd7e179
a7fdda0
fdf253d
81ea61b
887574c
18c7e9d
b68ee90
70d91b7
8360774
9c4337c
1299c89
ca47422
27abb5f
7d05faa
53da492
42d680e
2699c51
6372fce
72180f7
8588d52
6c4b524
cb71036
cf9e2e2
aa83d21
2f7ab3b
42214df
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of checking
__DEPRECATED
here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's so people don't get deprecation warnings when specifying
-Wno-deprecated
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we instead set
_LIBCPP_DISABLE_DEPRECATION_WARNINGS
when-Wno-deprecated
is passed?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. You can have
-Wno-deprecated -Wdeprecated-declarations
, which disables deprecation warnings but keeps[[deprecated]]
warnings. I'm not sure it makes a ton of sense to support this weird combination either though.