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

Merge main to feature/generator #4484

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
8d3be34
Handle paths case-insensitively when running tests (#4395)
StephanTLavavej Feb 27, 2024
5897d98
`vector_algorithms.cpp`, `*minmax*`: invert the condition to improve …
AlexGuteniev Feb 27, 2024
c8ac6d9
ADL-proof implementation of range verifying and functor passing compo…
frederick-vs-ja Feb 27, 2024
b31e883
`<memory>`: ADL-proof implementation of `shared_ptr` creation functio…
frederick-vs-ja Feb 27, 2024
9c63696
Unify stringification macros (#4405)
fsb4000 Feb 27, 2024
e57fc4f
Equality for unordered_set and unordered_map should be based on equal…
fsb4000 Feb 27, 2024
88fe449
`<new>`: `SRWLOCK` to protect the `new` handler instead of an indexed…
AlexGuteniev Feb 27, 2024
85c6ecd
`xnotify.cpp`: `SRWLOCK` to protect the at-thread-exit data instead o…
AlexGuteniev Feb 27, 2024
605c733
<xutility>, <algorithm>: Add top level const on pointer parameters (#…
KamathScience Feb 27, 2024
017bc35
`<ranges>`: Fix `zip_transform_view` by not using possibly ill-formed…
frederick-vs-ja Feb 27, 2024
517b783
Modules workaround for `views::pairwise_transform` (#4420)
StephanTLavavej Feb 27, 2024
6ca6c27
Mirror internal MSBuild changes (#4428)
StephanTLavavej Feb 29, 2024
76599ca
`<execution>`, `<numeric>`: Change improper direct-initialization to …
frederick-vs-ja Feb 29, 2024
2a052a6
Fix the incorrect width that occurred when formatting a floating numb…
grcm10 Feb 29, 2024
a6c2a72
Silence warning C4324: structure was padded due to alignment specifie…
StephanTLavavej Feb 29, 2024
8b081e2
AVX2 vectorization for very large bitsets (#4422)
AlexGuteniev Feb 29, 2024
6affdd3
ADL-proof implementation of `function`, `move_only_function`, `packag…
frederick-vs-ja Mar 8, 2024
1fa7781
Tools: add a script to download Unicode data files, and rename `graph…
cpplearner Mar 8, 2024
0613950
Enforce `std::time_base::mdy` for "C" locale (#4437)
fsb4000 Mar 8, 2024
042630a
`<random>`: Implement Mandates for `seed_seq::generate` (#4447)
frederick-vs-ja Mar 8, 2024
46f6bc5
Test updates for LLVM18 (#4452)
CaseyCarter Mar 8, 2024
ddc5a62
`<xmemory>`: Unify overloads of `_Allocate` and `_Deallocate` with `i…
frederick-vs-ja Mar 8, 2024
4378648
Move `_Width_estimate_intervals_v2` to `__msvc_format_ucd_tables.hpp`…
cpplearner Mar 8, 2024
1558c86
Comment cleanups (#4439)
StephanTLavavej Mar 8, 2024
67e4ec9
Tests: Rename the strict matrices (#4440)
StephanTLavavej Mar 8, 2024
6f8f8e3
Enable more test coverage for warning C4668 ('MEOW' is not defined as…
StephanTLavavej Mar 8, 2024
6272fd7
Tests: Extract `is_permissive.hpp` (#4442)
StephanTLavavej Mar 8, 2024
613cdb1
Expand old test coverage (#4443)
StephanTLavavej Mar 8, 2024
b46e2a6
Various cleanups: product code (#4444)
StephanTLavavej Mar 8, 2024
0407db6
Various cleanups: `ppltasks.cpp` (#4445)
StephanTLavavej Mar 8, 2024
9c40b48
Fix vectorized `ranges::find` with `unreachable_sentinel` to properly…
StephanTLavavej Mar 8, 2024
d6efe94
`<regex>`: Limit capture groups (#4451)
StephanTLavavej Mar 8, 2024
4d088fc
Toolset update: VS 2022 17.10 Preview 2, WinSDK 22621, CUDA 12.4.0 (#…
StephanTLavavej Mar 16, 2024
79e79a2
Implement `formatter` specializations for `pair` and `tuple` (#4438)
frederick-vs-ja Mar 16, 2024
4b80c7c
Wait on condition variables independently on system time (#4457)
AlexGuteniev Mar 16, 2024
c02643f
Delete `<cvt/meow>` (#4458)
StephanTLavavej Mar 16, 2024
3ec144e
`<format>`: Always enable compile-time format string checking for `wc…
frederick-vs-ja Mar 16, 2024
33854e5
`<format>`: Conditionally emit special diagnostic message for lack of…
frederick-vs-ja Mar 16, 2024
584144f
`<ranges>`: Drop one superfluous `_Fake_copy_init<bool>` where the ar…
yronglin Mar 16, 2024
ab9a15d
<yvals_core.h>: Update _MSVC_STL_UPDATE to March 2024 (#4467)
ZERO-N Mar 16, 2024
4ce6bb3
`download_unicode_data_files.py`: Select latest or a specific version…
StephanTLavavej Mar 16, 2024
a286993
Delete `std::experimental::erase/erase_if` (#4470)
StephanTLavavej Mar 16, 2024
64d9a59
Initialize pointer in `basic_string::_Allocate_for_capacity` (#4474)
tiagomacarios Mar 16, 2024
191d51b
Update GitHub workflows (#4476)
StephanTLavavej Mar 16, 2024
dde15f8
Merge branch 'main' into merge-generator
StephanTLavavej Mar 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 0 additions & 35 deletions .github/workflows/assign-new-prs.yml

This file was deleted.

68 changes: 0 additions & 68 deletions .github/workflows/move-ready-for-review-prs.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/move-work-in-progress-prs.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/update-status-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ">=21.4.0"
node-version: ">=21.7.1"
- name: Install Packages
run: |
npm ci
- name: Compile And Run gather_stats.ts
- name: Compile And Run gather_stats.mts
run: |
SECRET_GITHUB_PERSONAL_ACCESS_TOKEN="${{ github.token }}" npm run gather
- name: Compile And Bundle status_chart.ts
- name: Compile And Bundle status_chart.mts
run: |
npm run make
- name: Commit Changes
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add src/daily_table.ts src/monthly_table.ts built/status_chart.mjs
git add src/daily_table.mts src/monthly_table.mts built/status_chart.mjs
git diff-index --quiet HEAD || git commit -m "Automated update."
git push origin gh-pages
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ project(msvc_standard_libraries LANGUAGES CXX)
include(CheckCXXSourceCompiles)
check_cxx_source_compiles([=[
#include <sdkddkver.h>
static_assert(WDK_NTDDI_VERSION >= NTDDI_WIN10_CO, "Inspecting WDK_NTDDI_VERSION, the Windows SDK version.");
static_assert(WDK_NTDDI_VERSION >= NTDDI_WIN10_NI, "Inspecting WDK_NTDDI_VERSION, the Windows SDK version.");
int main() {}
]=] WINDOWS_SDK_VERSION_CHECK)

if(NOT WINDOWS_SDK_VERSION_CHECK)
message(FATAL_ERROR "The STL must be built with the Windows 11 SDK (10.0.22000.0) or later. Make sure it's available by selecting it in the Individual Components tab of the VS Installer.")
message(FATAL_ERROR "The STL must be built with the Windows 11 SDK (10.0.22621.0) or later. Make sure it's available by selecting it in the Individual Components tab of the VS Installer.")
endif()

if(NOT DEFINED VCLIBS_TARGET_ARCHITECTURE)
Expand Down Expand Up @@ -95,15 +95,15 @@ set(STL_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/out/lib/${VCLIBS_I386_OR
set(STL_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/out/bin/${VCLIBS_I386_OR_AMD64}")
add_compile_definitions(
_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH WIN32_LEAN_AND_MEAN STRICT _CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS
_WIN32_WINNT=0x0A00 NTDDI_VERSION=NTDDI_WIN10_CO)
_WIN32_WINNT=0x0A00 NTDDI_VERSION=NTDDI_WIN10_NI)

if(STL_USE_ANALYZE)
# TRANSITION OS-40109504: Windows SDK: incorrect SAL annotations on functions the STL uses
# warning C6553: The annotation for function 'LCMapStringEx' on _Param_(9)
# does not apply to a value type.
# There's a bug in the declaration for LCMapStringEx - it applies _In_opt_ to an LPARAM.
# LPARAM is a LONG_PTR (intptr_t), and it's invalid to apply _In_opt_ to a non-pointer.
# As of the Windows 11 SDK (10.0.22000.0), there are 5 total occurrences of warning C6553 affecting the STL's build.
# As of the Windows 11 SDK (10.0.22621.0), there are 5 total occurrences of warning C6553 affecting the STL's build.
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/analyze:autolog-;/wd6553>")
endif()

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem

# How To Build With The Visual Studio IDE

1. Install Visual Studio 2022 17.10 Preview 1 or later.
* Select "Windows 11 SDK (10.0.22000.0)" in the VS Installer.
1. Install Visual Studio 2022 17.10 Preview 2 or later.
* Select "Windows 11 SDK (10.0.22621.0)" in the VS Installer.
* We recommend selecting "C++ CMake tools for Windows" in the VS Installer.
This will ensure that you're using supported versions of CMake and Ninja.
* Otherwise, install [CMake][] 3.28.0 or later, and [Ninja][] 1.11.0 or later.
Expand All @@ -156,8 +156,8 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem

# How To Build With A Native Tools Command Prompt

1. Install Visual Studio 2022 17.10 Preview 1 or later.
* Select "Windows 11 SDK (10.0.22000.0)" in the VS Installer.
1. Install Visual Studio 2022 17.10 Preview 2 or later.
* Select "Windows 11 SDK (10.0.22621.0)" in the VS Installer.
* We recommend selecting "C++ CMake tools for Windows" in the VS Installer.
This will ensure that you're using supported versions of CMake and Ninja.
* Otherwise, install [CMake][] 3.28.0 or later, and [Ninja][] 1.11.0 or later.
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

variables:
- name: poolName
value: 'StlBuild-2024-02-13T1246-Pool'
value: 'StlBuild-2024-03-12T1202-Pool'
readonly: true
- name: poolDemands
value: 'EnableSpotVM -equals true'
Expand Down
13 changes: 2 additions & 11 deletions azure-devops/provision-image.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ $Workloads = @(
'Microsoft.VisualStudio.Component.VC.Tools.ARM64',
'Microsoft.VisualStudio.Component.VC.Tools.ARM64EC',
'Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
'Microsoft.VisualStudio.Component.Windows11SDK.22000'
'Microsoft.VisualStudio.Component.Windows11SDK.22621'
)

$VisualStudioBootstrapperUrl = 'https://aka.ms/vs/17/pre/vs_enterprise.exe'
$PythonUrl = 'https://www.python.org/ftp/python/3.12.2/python-3.12.2-amd64.exe'

$CudaUrl = 'https://developer.download.nvidia.com/compute/cuda/11.6.0/local_installers/cuda_11.6.0_511.23_windows.exe'
$CudaUrl = 'https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda_12.4.0_551.61_windows.exe'

$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue'
Expand Down Expand Up @@ -302,15 +302,6 @@ Write-Host 'AdminUser password not supplied; assuming already running as AdminUs
# Print the Windows version, so we can verify whether Patch Tuesday has been picked up.
cmd /c ver

Write-Host 'Configuring AntiVirus exclusions...'
Add-MpPreference -ExclusionPath C:\agent
Add-MpPreference -ExclusionPath D:\
Add-MpPreference -ExclusionProcess ninja.exe
Add-MpPreference -ExclusionProcess clang-cl.exe
Add-MpPreference -ExclusionProcess cl.exe
Add-MpPreference -ExclusionProcess link.exe
Add-MpPreference -ExclusionProcess python.exe

InstallPython $PythonUrl
InstallVisualStudio -Workloads $Workloads -BootstrapperUrl $VisualStudioBootstrapperUrl
InstallCuda -Url $CudaUrl
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/inc/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
template <class Contained>
std::vector<Contained> random_vector(size_t n) {
std::random_device rd;
std::uniform_int_distribution<uint64_t> id64;
std::uniform_int_distribution<std::uint64_t> id64;
xoshiro256ss prng{id64(rd), id64(rd), id64(rd), id64(rd)};

std::vector<Contained> res(n);
Expand Down
17 changes: 9 additions & 8 deletions benchmarks/inc/xoshiro.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ SPDX-License-Identifier: CC0-1.0 */
#pragma once

#include <bit>
#include <stdint.h>
#include <cstdint>

struct xoshiro256ss {
xoshiro256ss() = delete;
xoshiro256ss(uint64_t s0, uint64_t s1, uint64_t s2, uint64_t s3) : s0_(s0), s1_(s1), s2_(s2), s3_(s3) {}
xoshiro256ss(std::uint64_t s0, std::uint64_t s1, std::uint64_t s2, std::uint64_t s3)
: s0_(s0), s1_(s1), s2_(s2), s3_(s3) {}

uint64_t next() {
std::uint64_t next() {
auto result = std::rotl(s1_ * 5, 7) * 9;

const uint64_t t = s1_ << 17;
const std::uint64_t t = s1_ << 17;

s2_ ^= s0_;
s3_ ^= s1_;
Expand All @@ -34,8 +35,8 @@ struct xoshiro256ss {
}

private:
uint64_t s0_;
uint64_t s1_;
uint64_t s2_;
uint64_t s3_;
std::uint64_t s0_;
std::uint64_t s1_;
std::uint64_t s2_;
std::uint64_t s3_;
};
2 changes: 2 additions & 0 deletions benchmarks/src/bitset_to_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ namespace {

BENCHMARK(BM_bitset_to_string<15, char>);
BENCHMARK(BM_bitset_to_string<64, char>);
BENCHMARK(BM_bitset_to_string<512, char>);
BENCHMARK(BM_bitset_to_string_large_single<char>);
BENCHMARK(BM_bitset_to_string<7, wchar_t>);
BENCHMARK(BM_bitset_to_string<64, wchar_t>);
BENCHMARK(BM_bitset_to_string<512, wchar_t>);
BENCHMARK(BM_bitset_to_string_large_single<wchar_t>);

BENCHMARK_MAIN();
2 changes: 1 addition & 1 deletion docs/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "git",
"git": {
"repositoryUrl": "https://github.com/llvm/llvm-project.git",
"commitHash": "b8d38e8b4fcab071c5c4cb698e154023d06de69e"
"commitHash": "2e2b6b53f5f63179b52168ee156df7c76b90bc71"
}
}
},
Expand Down
Loading