File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ static struct __AvailabilityDomain __feature3 __attribute__((availability_domain
15
15
static struct __AvailabilityDomain __feature4 __attribute__((availability_domain (feature4 ))) = {__AVAILABILITY_DOMAIN_DYNAMIC , pred1 };
16
16
#endif
17
17
18
- __attribute__((availability (domain :feature1 , AVAIL ))) void func12 (void );
18
+ #pragma clang attribute push (__attribute__((availability(domain:feature1, AVAIL))), apply_to=any(function))
19
+ void func12 (void );
20
+ #pragma clang attribute pop
21
+
19
22
__attribute__((availability (domain :feature2 , AVAIL ))) void func13 (void );
20
23
__attribute__((availability (domain :feature1 , AVAIL ))) void func6 (void );
21
24
__attribute__((availability (domain :feature1 , UNAVAIL ))) void func7 (void );
You can’t perform that action at this time.
0 commit comments