Skip to content

Commit

Permalink
[PrintAsObjC] Remove references to the objc_complete_definition attri…
Browse files Browse the repository at this point in the history
…bute.

This is part of @partial_interface, which we decided not to ship.
Follow-on to r18168.

Swift SVN r18208
  • Loading branch information
jrose-apple committed May 16, 2014
1 parent 99ae560 commit fed3b6d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib/PrintAsObjC/PrintAsObjC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,16 +908,9 @@ class ModuleWriter {
"#if !defined(SWIFT_CLASS)\n"
"# if defined(__has_attribute) && "
"__has_attribute(objc_subclassing_restricted) \n"
"# if __has_attribute(objc_complete_definition)\n"
"# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) "
"__attribute__((objc_subclassing_restricted)) "
"__attribute__((objc_complete_definition)) "
"SWIFT_CLASS_EXTRA\n"
"# else\n"
"# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) "
"# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) "
"__attribute__((objc_subclassing_restricted)) "
"SWIFT_CLASS_EXTRA\n"
"# endif\n"
"# else\n"
"# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) "
"SWIFT_CLASS_EXTRA\n"
Expand Down

0 comments on commit fed3b6d

Please sign in to comment.