Prevent module import inside @implementation

Ben Langmuir blangmuir at apple.com
Mon Feb 3 10:19:55 PST 2014


This patch disallows module import inside @implementaiton, and also moves the parsing for implicit imports (e.g. #import) into the same function as explicit imports (@import).  Previously we silently accepted explicit imports in @implementation, but gave a missing ‘@end’ error on implicit imports.

Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: import-in-impl.patch
Type: application/octet-stream
Size: 4971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140203/21193dd8/attachment.obj>


More information about the cfe-commits mailing list