Batch of checked header changes from CCI 2021-05 #448
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.
As previously discussed with Sulekha, CCI is preparing to submit a batch of changes to the checked headers that we made in support of our recent porting efforts. I'm going ahead and submitting a draft PR so that I can more easily refer to some of our changes in issues that I'm about to file. Warning: I may still overwrite the commits of the PR via force-push.
One part of the PR that I believe is in final form and that you can go ahead and review if you wish is the change to make
#include
-ing a wrapper header an error if the original header does not exist on the system. This change is currently in this commit (though I may overwrite the commit later). It might make sense to make this change into a separate PR (at the cost of some additional overhead) because it is different in nature from all our other changes; let me know if you'd like me to do so.The corresponding draft PR for the tests in the checkedc-clang repository is microsoft/checkedc-clang#1064.