Skip to content
Commit 73ff9227 authored by Torok Edwin's avatar Torok Edwin
Browse files

void* is represented as pointer to empty struct {}.

Thus we need to check whether the struct is empty before trying to index into
it. This fixes PR3381.

llvm-svn: 62918
parent ee34b8f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment