Skip to content
Commit ceb66521 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

Check that a field is not annotated with attribute "unavailable" before

setting the NonTrivialToPrimitive* flags of a record.

Union fields that have non-trivial Objective-C ownership qualifications
are normally not legal, but if the union is declared in a system header,
the fields are annotated with attribute "unavailable".

rdar://problem/38431072

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