Debian Codegraph @

clang/test/AST/attr-swift_attr.m

raw
1 // RUN: %clang_cc1 -ast-dump %s | FileCheck %s
2
3 __attribute__((swift_attr("@actor")))
4 @interface View
5 @end
6
7 // CHECK-LABEL: InterfaceDecl {{.*}} View
8 // CHECK-NEXT: SwiftAttrAttr {{.*}} "@actor"
9
10 #pragma clang attribute push(__attribute__((swift_attr("@sendable"))), apply_to=objc_interface)
11 @interface Contact
12 @end
13 #pragma clang attribute pop
14
15 // CHECK-LABEL: InterfaceDecl {{.*}} Contact
16 // CHECK-NEXT: SwiftAttrAttr {{.*}} "@sendable"