Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion extobjc/EXTSelectorChecking.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@
* selector must accept a struct or union argument.
*/
#define checkselector(TARGET, ...) \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wnonnull\"") \
(((void)(NO && ((void)[TARGET metamacro_foreach(ext_checkselector_message_iter,, __VA_ARGS__)], NO)), \
metamacro_foreach(ext_checkselector_selector_iter,, __VA_ARGS__))).ext_toSelector
metamacro_foreach(ext_checkselector_selector_iter,, __VA_ARGS__))).ext_toSelector \
_Pragma("clang diagnostic pop")

#define checkselector0(TARGET, SELECTOR) \
(((void)(NO && ((void)[TARGET SELECTOR], NO)), \
Expand Down