-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang] Add function prototype to Objective-C blocks
Summary: We were passing `attr_info` too much incorrectly. Now only passing it in the few places where it's needed to go from AttributedType to BlockPointerType. Now also passing ?from_block to only translate the function prototype for blocks and not for other function pointers, since that's not required at the moment. Translating the function prototype of blocks including its annotations helped handle correctly the example from the test in the parameter not null checked checker. Reviewed By: ngorogiannis Differential Revision: D64107506 fbshipit-source-id: 6980396bb01db7ac6bc70fadcae9de161e9fbe1e
- Loading branch information
1 parent
648ef5e
commit 6d5bc2b
Showing
12 changed files
with
90 additions
and
77 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
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
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
Oops, something went wrong.