Commit 0ca1051b authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

Check whether the allocated type is an array type before calling

checkArrayElementAlignment in Sema::BuildCXXNew

This commit fixes a bug that was introduced by adaf62ce and reported
here: https://reviews.llvm.org/D133711#3814717
parent 78084d9e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment