Skip to content

Implement fix for "if constexpr" incorrectly handling non-brace statements [GH #229] - #247

Open
wchilders-nvidia wants to merge 2 commits into
mainfrom
fix/229
Open

wchilders-nvidia wants to merge 2 commits into
mainfrom
fix/229

Conversation

@wchilders-nvidia

Copy link
Copy Markdown
Collaborator

This fixes GH #229 and also includes a fix for some changes entry formatting issues.

Reviewed internally by: @daveedvdv-nvidia

@mborland mborland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

With MSVC __try ... __finally in a discarded branch now fails because the __finally is not consumed. The fix is a one-liner and there is an included test for this case in the attached patch file.

gh-229-finally-fix.patch

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants