Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ClangImporter] Don't drop "Ref" from a CF types if it creates a conf…
- Loading branch information
1 parent
81f8511
commit 621edeb
Showing
4 changed files
with
94 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
typedef const struct __attribute__((objc_bridge(id))) __MyProblematicObject *MyProblematicObjectRef; | ||
|
||
@interface MyProblematicObject | ||
@end | ||
|
||
typedef float MyProblematicAlias; | ||
typedef MyProblematicObjectRef MyProblematicAliasRef; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
621edeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DougGregor, can you review this for the 2.2 branch?
621edeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.