Skip to content
Commit 4e246485 authored by Alex Lorenz's avatar Alex Lorenz
Browse files

Fix an assertion failure regression in isDesignatorAtObjectEnd for

__builtin_object_size with incomplete array type in struct

The commit r316245 introduced a regression that causes an assertion failure when
Clang tries to cast an IncompleteArrayType to a PointerType when evaluating
__builtin_object_size.

rdar://36094951

Differential Revision: https://reviews.llvm.org/D41405

llvm-svn: 321222
parent 3f84c0f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment