Skip to content

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