forked from apple/swift-clang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyaml-os-availability.c
31 lines (28 loc) · 1.14 KB
/
yaml-os-availability.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# RUN: %clang -cc1apinotes -yaml-to-binary -target i386-apple-ios7 -o %t-ios.apinotesc %S/Inputs/os-availability.apinotes
# RUN: %clang -cc1apinotes -binary-to-yaml %t-ios.apinotesc -o %t.os-availability-ios.apinotes
# RUN: FileCheck %s -check-prefix=IOS < %t.os-availability-ios.apinotes
# RUN: %clang -cc1apinotes -yaml-to-binary -target x86_64-apple-macosx10.9 -o %t-osx.apinotesc %S/Inputs/os-availability.apinotes
# RUN: %clang -cc1apinotes -binary-to-yaml %t-osx.apinotesc -o %t.os-availability-osx.apinotes
# RUN: FileCheck %s -check-prefix=OSX < %t.os-availability-osx.apinotes
# IOS: Foundation
# IOS: NSArray
# IOS: initWithObjects
# IOS: familyNameios
# IOS: fontName
# IOS: NSCountedSet
# IOS: UIApplicationDelegate
# IOS: UIApplicationDelegateIOS
# IOS: NSAvailableWindowDepths
# IOS: NSAvailableWindowDepthsiOS
# IOS-NOT: NSCalibratedWhiteColorSpace
# OSX: Foundation
# qqOSX: NSArray
# OSX-NOT: initWithObjects
# OSX-NOT: familyNameios
# OSX: fontName
# OSX-NOT: NSCountedSet
# OSX: UIApplicationDelegate
# OSX-NOT: UIApplicationDelegateIOS
# OSX: NSAvailableWindowDepths
# OSX-NOT: NSAvailableWindowDepthsiOS
# OSX: NSCalibratedWhiteColorSpace