Skip to content
Commit f7c1a215 authored by Serge Pavlov's avatar Serge Pavlov
Browse files

Clean up empty struct/union recognition.

Make use of getTypeSizeInChars to detect structs/unions of zero size. It allows
more accurate detection of types of zero size. It however has a side effect -
sequence of used types may change, that is why the test 'override-layout' was
modified.

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