Skip to content

Link C4834 to C26457 #4638

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

Merged
merged 2 commits into from
Jul 20, 2023
Merged

Link C4834 to C26457 #4638

merged 2 commits into from
Jul 20, 2023

Conversation

cgettys-microsoft
Copy link
Contributor

C4834 recommends either using referenced value or casting to (void). However, we also have a code quality rule for [[nodiscard]] that says "assign to std::ignore" is preferred over "(void)". The documentation should link to this page, rather than recommending an approach we will also warn over.

C4834 recommends either using referenced value or casting to (void). However, we also have a code quality rule for [[nodiscard]] that says "assign to std::ignore" is preferred over "(void)". The documentation should link to this page, rather than recommending an approach we will also warn over.
@prmerger-automator
Copy link
Contributor

@cgettys-microsoft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 34b1d6a:

⚠️ Validation status: warnings

File Status Preview URL Details
docs/error-messages/compiler-warnings/c4834.md ⚠️Warning Details

docs/error-messages/compiler-warnings/c4834.md

  • Line 16, Column 243: [Warning: file-not-found - See documentation] Invalid file link: 'code-quality/c26457.md'.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

relative link to linked page
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 78a9543:

✅ Validation status: passed

File Status Preview URL Details
docs/error-messages/compiler-warnings/c4834.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

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

Ok by me, from a content perspective

@cgettys-microsoft
Copy link
Contributor Author

#sign-off - ready to merge from my end

@prmerger-automator
Copy link
Contributor

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @TylerMSFT

@TylerMSFT
Copy link
Collaborator

#sign-off

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

Successfully merging this pull request may close these issues.

3 participants