Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

@CaseyCarter CaseyCarter commented Jun 17, 2020

... except for __meow.hpp headers which are normal product headers. Rename internal .h headers to .hpp to be consistent with this naming policy. Tell clang-format that .hpp headers should be ordered after other headers in a separate block.

Roughly per discussion beginning with https://github.com/microsoft/STL/pull/901/files#r441022179.

.... except for `__meow.hpp` headers which are normal product headers. Rename `tests/std/include/test_windows.h` to `tests/std/include/test_windows.hpp` to be consistent with this naming policy.

Tell clang-format that .hpp headers should be ordered after other headers in a separate block.

Roughly per discussion beginning with https://github.com/microsoft/STL/pull/901/files#r441022179.
@CaseyCarter CaseyCarter added the enhancement Something can be improved label Jun 17, 2020
@CaseyCarter CaseyCarter requested a review from a team as a code owner June 17, 2020 07:36
Copy link
Member

@StephanTLavavej StephanTLavavej left a comment

Choose a reason for hiding this comment

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

Reminder (possibly to self): This will require setup changes in the Microsoft-internal PR.

@StephanTLavavej StephanTLavavej self-assigned this Jun 23, 2020
@StephanTLavavej StephanTLavavej changed the title Internal headers have suffix .hpp Internal headers have extension .hpp Jun 24, 2020
@StephanTLavavej StephanTLavavej merged commit f1515e0 into microsoft:master Jun 24, 2020
@StephanTLavavej
Copy link
Member

Thanks for this improvement! Renames are always a headache, but now we don't need to worry about sorting headers in a special order, or remembering that meow.h is really a C++ header. 🐈

@CaseyCarter CaseyCarter deleted the clangformat branch June 24, 2020 14:49
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jul 1, 2020
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