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

Comment cleanups #4439

Merged
merged 6 commits into from
Mar 8, 2024
Merged

Conversation

StephanTLavavej
Copy link
Member

  • Fix comment typos.
  • Drop comment // inspected by GSL, do not remove.
  • Comments: C++23 / C++20 => _HAS_CXX23 / !_HAS_CXX23
    • This is more conventional and more accurately descriptive.
  • Comments: Replace weird _HAS_CXX23 comments with conventional ones.
  • Comments: Replace weird ^^ real test / vv workaround comments with conventional ones.
  • Comments: In yvals_core.h, drop most comments around "macros with language mode sensitivity".
    • This eliminates one last occurrence of ^^^ C++23 / C++20 vvv. We were pretty inconsistent about the patterns here, and these comments were distracting from the actually useful paper citations. The regions here are all single line, so it's okay to skip preprocessor comments. The only comment I retained was #endif // language mode because it's next to #endif // !defined(_M_CEE_PURE).

This is no longer necessary after microsoft/GSL 822.
…guage mode sensitivity".

This eliminates one last occurrence of `^^^ C++23 / C++20 vvv`.

We were pretty inconsistent about the patterns here, and these comments were distracting from the actually useful paper citations. The regions here are all single line, so it's okay to skip preprocessor comments.

The only comment I retained was `#endif // language mode` because it's next to `#endif // !defined(_M_CEE_PURE)`.
@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Mar 4, 2024
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner March 4, 2024 01:48
@StephanTLavavej StephanTLavavej self-assigned this Mar 6, 2024
@StephanTLavavej
Copy link
Member Author

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

@StephanTLavavej StephanTLavavej merged commit 1558c86 into microsoft:main Mar 8, 2024
37 checks passed
@StephanTLavavej StephanTLavavej deleted the cleanups-1-comments branch March 8, 2024 05:12
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
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant