HomePhabricator

[Modules][ObjC] Warn on the use of '@import' in framework headers

Description

[Modules][ObjC] Warn on the use of '@import' in framework headers

Using @import in framework headers inhibit the use of such headers
when not using modules, this is specially bad for headers that end
up in the SDK (or any other system framework). Add a warning to give
users some indication that this is discouraged.

rdar://problem/39192894

Details

Committed
brunoJun 27 2018, 1:29 PM
Parents
rC335779: DR1213: Ignore implicit conversions when determining if an operand of an
Branches
Unknown
Tags
Unknown