Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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
@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