Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Charlie Barto e960db2d54
update cgmanifest (#643)
Co-authored-by: Charles <barto.charlie+code@gmail.com>
2020-03-26 23:03:35 -07:00
Casey Carter 02a6ea8b62
Allow Clang10 in the STL (#622)
* Allow Clang10 in the STL

This PR includes changes necessary to allow (but not require) clang 10 in the STL. It also includes test changes to allow the tests to pass given new clang warnings for deprecated behaviors, and an update to the LLVM reference to get similar changes that have been applied upstream to libc++ tests.

Details:
* In `<compare>`, remove workarounds for LLVM-41991 in Clang 10 RC1 fixed in RC2.
* In `<concepts>`, remove `_SILENCE_CLANG_CONCEPTS_MESSAGE`.
* In `<queue>` and `<stack>`, befriend only corresponding specializations of operator templates.
* In `<system_error>`, fix the `__cpp_constexpr_dynamic_alloc` implementation of `_Immortalize_memcpy_image` (which we apparently didn't review at all).
* In `<experimental/filesystem>`, apply a fix equivalent to the resolution of LWG-3244.
* Update `P0220R1_optional` from upstream.
* In `P0595R2_is_constant_evaluated`, silence Clang's warning for using `is_constant_evaluated` in a manifestly constant-evaluated context.
* In `P0896R4_ranges_iterator_machinery`, fix bogus test cases that were expecting VSO-1008447, silence "unused variable" warnings, and avoid taking advantage of too-lenient MSVC comparison rewrite behavior.
* In `P0896R4_ranges_range_machinery`, silence "unused variable" warning.
* In `P0898R3_concepts`, Remove workaround for LLVM-44627 in Clang 10 RC1 fixed in RC2.
* In `VSO_0000000_type_traits` and `tr1/type_traits5`, silence volatile function parameter deprecation warnings.
* In `tr1/condition_variable`, `tr1/regex1`, and `tr1/regex3`, remove unnecessary copy assignment operators that were prompting Clang warnings about the implicitly definition of a copy constructor for such a class being deprecated.
* In `tr1/csetjmp`, silence volatile increment deprecation warnings.

Skip new libc++ tests:
* Various `span` tests that expect `const_iterator` (libc++ doesn't yet implement LWG-3320)
* tests for the implementation of P1135R6 "The C++ Synchronization Library" which we do not yet implement
2020-03-19 16:42:55 -07:00
Stephan T. Lavavej 08ed0de1a6
Improve GitHub templates and VSCode config (#590) 2020-03-08 14:23:02 -07:00
Stephan T. Lavavej 2b2746dd78
Add the std test suite. (#498)
* Add tests/std.

* Update other files.

NOTICE.txt
Mention the LLVM Project, as its code appears
in tests/std/tests/P0220R1_optional/test.cpp and elsewhere.

azure-devops/enforce-clang-format.cmd
Process everything within tests. This includes libcxx, std, and tr1.

docs/cgmanifest.json
Update this file for Microsoft-internal purposes. (It records the commit
hashes of repos whose source code we've incorporated into our own repo.
For llvm-project, this is distinct from the submodule's current commit.)

tests/tr1/run.pl
Mention runbe.pl in lowercase, to match the file itself.

* Improve run.pl and runbe.pl comments.
2020-02-14 14:00:55 -08:00
Charlie Barto b614834329 update stl cgmanifest (#384)
* update stl cgmanifest
2019-12-13 16:35:49 -08:00
Stephan T. Lavavej 58bb49d63d
Improve the PR and issue templates (#288)
* Simplify paths in ISSUE_TEMPLATE.md.

* Mention WG21 papers and LWG issues in PR template.

* Exclude reference implementations.

* Increase clang-format timeout to 60 minutes.
2019-11-12 17:12:22 -08:00
Billy O'Neal 389066634b
Remove delay comment in PR template because we've been merging PRs (#243)
* Remove delay comment in PR template because we've been merging PRs.

* Add readme.md note, and change "CI" to "automated testing" in checklist.

* Also remove statement from readme.md.
2019-10-31 18:39:31 -07:00
Stephan T. Lavavej d736fe46b9
Update cgmanifest.json and README.md. (#238)
* Replay MSVC internal PR 209928.

* README.md: Capitalize Preview.
2019-10-30 19:06:27 -07:00
Stephan T. Lavavej 9c1c63cd26
Enforce ASCII and whitespace conventions (#229)
Fixes #141.

* Change LF to CRLF.
* Remove UTF-8 BOMs.
* Add validate.cpp.
* Add validate to CMakeLists.txt.
* Add validate to azure-devops.
* Wrap enforce-clang-format.cmd.
* Code review feedback: abort().
* Code review feedback: Assign previous3.
* Code review feedback: Don't catch everything.
* Code review feedback: MaxErrorsForDisallowedCharacters.
* Cleanup: Remove `enabled: true`.
* Code review feedback: Character code comments.
* Code review feedback: Allow certain files to be tabby.
* Code review feedback: Use native wchar_t paths.
2019-10-30 16:22:33 -07:00
Stephan T. Lavavej 1e4f423120
Update README and PR template (#194)
* README.md: New Working Draft N4835.

* Simplify pull_request_template.md.

We can remove the N/A guidance by updating
the two checkboxes that are commonly N/A.

Remove the "feature has been voted into the WP" checkbox.
We haven't had issues with people submitting non-Standard PRs,
and the README's Non-Goals section clearly explains
our acceptance criteria.

For the `_Ugly` checkbox, allow people to check it
if there aren't any product code changes at all.
2019-10-21 13:12:13 -07:00
Stephan T. Lavavej a1273b8907
Update the PR template to fix #117. (#152)
Update the PR template to fix #117.

This adds a checkbox to the PR template mentioning
license discipline.

It clarifies the instructions regarding unchecked
and inapplicable boxes.

It fuses the "acceptance will be delayed" disclaimer
into the README checkbox.

This also rewraps the issue template (we usually wrap to 120,
but 80 is friendlier to the issue textbox) and improves the
wording by changing "Alternately" to "Alternatively".
2019-10-01 13:20:08 -07:00
Charlie Barto 0281a45229
Move cgmanifest.json (#138)
Fixes #125
2019-09-25 19:32:02 -07:00
Billy O'Neal a8e13582e9
Set up CI with Azure Pipelines that checks that sources are clang-format'd (#132)
This script runs clang-format on the sources, then runs git status --porcelain on the result, redirected to stderr. If any output goes to stderr, Azure Pipelines marks the build as failed, which enforces that no changes were made to the repo by the clang-format pass.

Resolves #88
2019-09-24 19:19:50 -07:00
Casey Carter aacdfb522b microsoft/vclibs is the code owner (#123)
....not any particular set of members thereof.
2019-09-23 10:19:12 -07:00
Stephan T. Lavavej 5c725eb3d8
Update pull_request_template.md (#103)
Mention clang-format's version to avoid formatting churn.
2019-09-17 11:06:20 -06:00
Billy O'Neal e94b4e758a Create a CODEOWNERS (#102)
This lets us require an STL maintainer to sign off before merging.

See the documentation for CODEOWNERS at
https://help.github.com/en/articles/about-code-owners
2019-09-17 09:07:26 -07:00
Billy O'Neal 1223fb1d50
Add pull request template. (#92) 2019-09-13 15:40:15 -07:00
Billy O'Neal dbbbb48aef
Create issue templates for the STL repo (#90) 2019-09-13 15:39:50 -07:00