Cleanup headers by SunnyWar · Pull Request #1270 · microsoft/STL · GitHub
Skip to content

Cleanup headers - #1270

Merged
Stephan T. Lavavej (StephanTLavavej) merged 8 commits into
microsoft:masterfrom
SunnyWar:master
Sep 26, 2020
Merged

Cleanup headers#1270
Stephan T. Lavavej (StephanTLavavej) merged 8 commits into
microsoft:masterfrom
SunnyWar:master

Conversation

@SunnyWar

@SunnyWar SunnyWar commented Sep 5, 2020

Copy link
Copy Markdown
Contributor
  1. Change deprecated headers to the modern equivalent.
  2. Remove unused headers.

@SunnyWar
SunnyWar requested a review from a team as a code owner September 5, 2020 03:28
@CaseyCarter Casey Carter (CaseyCarter) added the enhancement Something can be improved label Sep 5, 2020
@CaseyCarter
Casey Carter (CaseyCarter) marked this pull request as draft September 5, 2020 03:55
@SunnyWar SunnyWar changed the title WIP: Cleanup headers Cleanup headers Sep 5, 2020
@SunnyWar
SunnyWar marked this pull request as ready for review September 5, 2020 06:39
Comment thread stl/src/filesys.cpp
Comment thread stl/src/special_math.cpp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! After checking each of these changes, you have a lot of great finds of unused headers here. I commented every occurrence that I think needs to be restored/adjusted (in addition to the ones that Casey Carter (@CaseyCarter) noted); I think after one more revision this will be ready to merge. 😺

Comment thread stl/src/thread0.cpp Outdated
Comment thread stl/src/xwcscoll.cpp
Comment thread stl/src/winapinls.cpp
Comment thread stl/src/taskscheduler.cpp
Comment thread stl/src/primitives.hpp
Comment thread stl/src/winapisupp.cpp
Comment thread stl/src/winapisupp.cpp Outdated
Comment thread stl/src/xmath.hpp
Comment thread stl/src/StlCompareStringW.cpp
Comment thread stl/src/StlLCMapStringW.cpp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! I pushed a one-line change to adjust the spacing before a comment in a clang-format-off block (we conventionally use one space before comments). This will also cycle the tests which timed out for an unknown infrastructure reason (I saw that affect another PR too).

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 530bdc5 into microsoft:master Sep 26, 2020
@StephanTLavavej

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants