Skip to content

PR45350: Handle unsized array CXXConstructExprs in constant evaluation #1433

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 9, 2020
Merged

Conversation

jkorous-apple
Copy link

rdar://problem/64925579

of array new expressions with runtime bound.

(cherry picked from commit 9a7eda1)

# Conflicts:
#	clang/test/SemaCXX/constant-expression-cxx2a.cpp
@jkorous-apple jkorous-apple requested a review from hyp July 9, 2020 01:05
@jkorous-apple
Copy link
Author

@swift-ci please test

This assert was failing:
assert(CAT && "unexpected type for array initializer");

until this patch landed:
9a7eda1
PR45350: Handle unsized array CXXConstructExprs in constant evaluation
Copy link

@hyp hyp left a comment

Choose a reason for hiding this comment

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

LGTM

@jkorous-apple
Copy link
Author

@swift-ci please test macos

@jkorous-apple jkorous-apple merged commit 3f62c7e into swiftlang:apple/stable/20200108 Jul 9, 2020
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