[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / APINotes / yaml-roundtrip.test
blobbcf84afda8df04f7ba285f5a56e610e69a81ccd0
1 RUN: apinotes-test %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes > %t.result
2 RUN: not diff -b %S/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes %t.result | FileCheck %s
4 Avoid Windows as the diff output differs due to line-endings and different diff
5 implementations.
6 UNSUPPORTED: system-windows
8 We expect only the nullability to be different as it is canonicalized during the
9 roudtrip.
11 CHECK:      7c8
12 CHECK-NEXT: <         Nullability:     N
13 CHECK-NEXT: ---
14 CHECK-NEXT: >         Nullability:     Nonnull
15 CHECK-NEXT: 13c14
16 CHECK-NEXT: <         Nullability:     O
17 CHECK-NEXT: ---
18 CHECK-NEXT: >         Nullability:     Optional
19 CHECK-NEXT: 19c20
20 CHECK-NEXT: <         Nullability:     U
21 CHECK-NEXT: ---
22 CHECK-NEXT: >         Nullability:     Unspecified
23 CHECK-NEXT: 25c26
24 CHECK-NEXT: <         Nullability:     S
25 CHECK-NEXT: ---
26 CHECK-NEXT: >         Nullability:     Unspecified
27 CHECK-NEXT: 28c29,30
28 CHECK-NEXT: <         Nullability:     Scalar
29 CHECK-NEXT: ---
30 CHECK-NEXT: >         Nullability:     Unspecified