Skip to content

fix analyze in CI - #2812

Merged
Stephan T. Lavavej (StephanTLavavej) merged 5 commits into
microsoft:mainfrom
strega-nil:analyze
Jun 25, 2022
Merged

Stephan T. Lavavej (StephanTLavavej) merged 5 commits into
microsoft:mainfrom
strega-nil:analyze

Conversation

@strega-nil-ms

Copy link
Copy Markdown
Contributor

Fixes #2810

@strega-nil-ms
nicole mazzuca (strega-nil-ms) marked this pull request as ready for review June 21, 2022 17:51
@strega-nil-ms
nicole mazzuca (strega-nil-ms) requested a review from a team as a code owner June 21, 2022 17:51
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added the infrastructure Related to repository automation label Jun 21, 2022
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt
Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt
Comment thread CMakeLists.txt Outdated
Comment thread stl/src/winapisupp.cpp
// TRANSITION, ABI: preserved for binary compatibility
extern "C" _CRTIMP2 VOID __cdecl __crtSetThreadpoolTimer(_Inout_ PTP_TIMER const pti,
_In_opt_ PFILETIME const pftDueTime, _In_ DWORD const msPeriod, _In_opt_ DWORD const msWindowLength) {
_In_opt_ PFILETIME const pftDueTime, _In_ DWORD const msPeriod, _In_ DWORD const msWindowLength) {

@CaseyCarter Casey Carter (CaseyCarter) Jun 21, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For posterity: this is the only occurrence of _In_opt_ applied to a non-pointer type in the STL. (No change requested.)

Comment thread CMakeLists.txt Outdated
Comment thread CMakeLists.txt Outdated
@StephanTLavavej

Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit bda3b9a into microsoft:main Jun 25, 2022
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for finding and fixing how this important compiler option was silently missing! 🔍 🎉 😸

Igor Zhukov (fsb4000) pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Related to repository automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/analyze is not applied in CI

4 participants