Home
last modified time | relevance | path

Searched refs:Swift (Results 1 – 25 of 126) sorted by relevance

123456

/llvm-project/clang/test/Index/Core/
H A Dexternal-source-symbol-attr.m3 #define EXT_DECL(mod_name) __attribute__((external_source_symbol(language="Swift", defined_in=mod_n…
4 #define GEN_DECL(mod_name) __attribute__((external_source_symbol(language="Swift", defined_in=mod_n…
7 #define GEN_DECL_USR(mod_name, usr) __attribute__((external_source_symbol(language="Swift", defined…
23 // CHECK: [[@LINE-1]]:12 | class/Swift | I2 | c:@M@some_module@objc(cs)I2 | {{.*}} | Decl | rel: 0
25 // CHECK: [[@LINE-1]]:8 | instance-method/Swift | method | c:@M@some_module@objc(cs)I2(im)method | …
27 // CHECK: [[@LINE-1]]:15 | instance-method/acc-get/Swift | prop | c:@M@some_module@objc(cs)I2(im)pr…
28 // CHECK: [[@LINE-2]]:15 | instance-method/acc-set/Swift | setProp: | c:@M@some_module@objc(cs)I2(i…
29 // CHECK: [[@LINE-3]]:15 | instance-property/Swift | prop | c:@M@some_module@objc(cs)I2(py)prop |
33 // CHECK: [[@LINE-1]]:12 | class/Swift | I1 | c:@M@some_module@objc(cs)I1 |
35 // CHECK: [[@LINE-1]]:6 | instance-method/Swift | method | c:@M@some_module@objc(cs)I1(im)method |
[all …]
/llvm-project/clang/test/Parser/
H A Dattr-external-source-symbol.m3 void function(void) __attribute__((external_source_symbol(language="Swift", defined_in="module", ge…
5 __attribute__((external_source_symbol(language="Swift", defined_in="module")))
14 CaseB __attribute__((external_source_symbol(generated_declaration, language="Swift")))
15 } __attribute__((external_source_symbol(language = "Swift")));
17 void functionCustomUSR(void) __attribute__((external_source_symbol(language="Swift", defined_in="mo…
19 void functionCustomUSR2(void) __attribute__((external_source_symbol(language="Swift", defined_in="m…
35 __attribute__((external_source_symbol(language="Swift", language="Swift"))); // expected-error {{du…
37 __attribute__((external_source_symbol(defined_in="module", language="Swift", defined_in="foo"))); /…
38 __attribute__((external_source_symbol(defined_in="module", language="Swift", USR="foo", USR="bar"))…
42 …generated_declaration, language="Swift", defined_in="foo", generated_declaration, generated_declar…
[all …]
/llvm-project/llvm/test/tools/dsymutil/X86/
H A Dswift-interface.test12 # RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/x86_64/Foo.swiftinterface \
15 # WARNINGS-NOT: cannot copy parseable Swift interface {{.*}}{{Swift|Foundation|_Concurrency}}
16 # WARNINGS: cannot copy parseable Swift interface {{.*}}Foo
17 # WARNINGS-NOT: cannot copy parseable Swift interface {{.*}}{{Swift|Foundation|_Concurrency}}
/llvm-project/clang/test/AST/
H A Dcategory-attribute.m13 __attribute__ ((external_source_symbol(language= "Swift", defined_in="A")))
19 __attribute__ ((external_source_symbol(language= "Swift", defined_in="B")))
24 // CHECK-NEXT: ExternalSourceSymbolAttr {{.*}} "Swift" "B"
26 __attribute__ ((external_source_symbol(language= "Swift", defined_in="C")))
31 // CHECK-NEXT: ExternalSourceSymbolAttr {{.*}} "Swift" "C"
/llvm-project/llvm/test/Object/
H A Dobjc-swift-mixed-imageinfo-macho.ll4 ; It checks whether the backend generates IMAGE_INFO from Swift ABI version + major + minor + "Obje…
37 !13 = !{i32 1, !"Swift Version", i32 7}
38 !14 = !{i32 1, !"Swift ABI Version", i32 7}
39 !15 = !{i32 1, !"Swift Major Version", i8 5}
40 !16 = !{i32 1, !"Swift Minor Version", i8 1}
/llvm-project/llvm/test/Linker/
H A Dempty-swift.ll3 ; It tests whether Swift bitcode can be successfully linked with Objecitive-C bitcode.
31 !8 = !{i32 1, !"Swift Version", i32 7}
39 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift ABI Version", i32 7}
40 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift Major Version", i8 5}
41 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift Minor Version", i8 1}
/llvm-project/llvm/test/DebugInfo/
H A Dcodeview-bit-slice-fragments.ll34Swift version 5.11-dev (LLVM 572a5a4fbafb69e, Swift ebbb9de104d5682)", isOptimized: true, flags: "…
49 …lename: "S:\\Program Files\\Swift\\Platforms\\Windows.platform\DEveloper\\SDKs\\Windows.sdk\\usr\\…
50Swift", configMacros: "\22-D_CRT_SECURE_NO_WARNINGS\22 \22-D_MT\22 \22-D_DLL\22", includePath: "S:…
/llvm-project/llvm/test/DebugInfo/COFF/
H A Dswift.ll10 ; OBJ-NEXT: Language: Swift (0x13)
16 ; OBJ-NEXT: VersionName: Apple Swift version 5.0 (swiftlang-1001.0.45.7 clang-1001.0.37.7)
33 !0 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !1, producer: "Apple Swift version 5.0 …
38 !5 = !{i32 1, !"Swift Version", i32 6}
/llvm-project/llvm/test/Bitcode/
H A Dupgrade-garbage-collection-for-swift.ll31 !8 = !{i32 1, !"Swift Version", i32 7}
39 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift ABI Version", i32 7}
40 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift Major Version", i8 5}
41 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift Minor Version", i8 1}
/llvm-project/llvm/test/CodeGen/X86/
H A Dpreserve_none_swift.ll3 ; Swift attributes should not be used with preserve_none.
7 ; CHECK: error: <unknown>:0:0: in function bar void (ptr): Swift attributes can't be used with pres…
12 ; CHECK: error: <unknown>:0:0: in function qux void (ptr): Swift attributes can't be used with pres…
/llvm-project/llvm/test/CodeGen/AArch64/
H A Dpreserve_nonecc_swift.ll3 ; Swift attributes should not be used with preserve_none.
7 ; CHECK: error: <unknown>:0:0: in function bar void (ptr): Swift attributes can't be used with pres…
12 ; CHECK: error: <unknown>:0:0: in function qux void (ptr): Swift attributes can't be used with pres…
H A Dswift-async-unwind.ll3 ; Swift asynchronous context is incompatible with the compact unwind encoding
6 ; allowed to unwind through Swift code, but at least make sure the compact info
/llvm-project/lld/test/MachO/
H A Dobjc-imageinfo.s71 ## should be compatible with any Swift version.
99 # SWIFT-MISMATCH-12: error: Swift version mismatch: {{.*}}swift-version-1.o has version 1.0 but {{.…
100 # SWIFT-MISMATCH-21: error: Swift version mismatch: {{.*}}swift-version-2.o has version 1.1 but {{.…
134 .byte 0x1 ## Swift version
141 .byte 0x2 ## Swift version
H A Dobjc-category-merging-swift-class-ext.s17 ; CHECK-MERGE-NEXT: data 0x[[#%x,]] (struct class_ro_t *) Swift class
53 ; ================== Generated from Swift: ==================
55 ;; swift-driver version: 1.109.2 Apple Swift version 6.0 (swiftlang-6.0.0.3.300 clang-1600.0.20.10)
73 ; ================== Generated from Swift: ==================
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DSwift.def1 //===- llvm/BinaryFormat/Swift.def - Swift definitions ---------*- C++ -*-===//
9 // Macros for running through Swift enumerators.
/llvm-project/clang/docs/
H A DAPINotes.rst58 Many API notes affect how a C API is imported into Swift. In order to change
60 selectively applied based on the Swift compatibility version provided to the
102 annotations that only apply to Swift 4 mode and earlier. The other entries
149 Equivalent to ``NS_SWIFT_NAME``. For a method, must include the full Swift name
200 Allows annotating a C++ class as non-copyable in Swift. Equivalent to
211 Allows annotating a C++ class as conforming to a Swift protocol. Equivalent
213 Swift protocol.
290 declaration; it should ideally only be used for Swift backwards
308 should ideally only be used for Swift backwards compatibility, when existing
324 Used for properties. If true, the property will be exposed in Swift a
[all...]
/llvm-project/llvm/test/CodeGen/ARM/
H A Ddbg-tcreturn.ll30 !0 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !1, producer: "Swift", isOptimized: tru…
34 !4 = !{i32 1, !"Swift Minor Version", i8 3}
37 !7 = !DIModule(scope: null, name: "Swift")
/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
H A Dremove-swift-symbols.test1 ## Verify that -T removes Swift symbols.
33 ## Verify that -T does not remove (public) Swift symbols when the binary
48 ## Verify that -T does not remove (public) Swift symbols when swift_version is zero.
56 ## Verify that -T does not remove (public) Swift symbols when the binary
65 ## Verify that -T does not remove (public) Swift symbols
/llvm-project/clang/test/SemaObjC/
H A Dattr-swift_name.m28 …1 {{'__swift_name__' attribute argument must be a string literal specifying a Swift function name}}
58 …1 {{'__swift_name__' attribute argument must be a string literal specifying a Swift function name}}
60 …1 {{'__swift_name__' attribute argument must be a string literal specifying a Swift function name}}
83 …1 {{'__swift_name__' attribute argument must be a string literal specifying a Swift function name}}
162 …1 {{'__swift_name__' attribute argument must be a string literal specifying a Swift function name}}
165 …1 {{'__swift_name__' attribute argument must be a string literal specifying a Swift function name}}
168 …1 {{'__swift_name__' attribute argument must be a string literal specifying a Swift function name}}
/llvm-project/llvm/test/DebugInfo/ARM/
H A Dinstr-ref-tcreturn.ll50 !0 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !1, producer: "Swift", isOptimized: tru…
54 !4 = !{i32 1, !"Swift Minor Version", i8 3}
57 !7 = !DIModule(scope: null, name: "Swift")
/llvm-project/llvm/test/tools/llvm-readtapi/
H A Dcompare-inlines.test6 ; CHECK:Swift ABI Version
25 ; CHECK-NEXT: Swift ABI Version
H A Dcompare-right-single-inline.test12 ; CHECK-NEXT:Swift ABI Version
43 ; CHECK-NEXT: Swift ABI Version
/llvm-project/llvm/test/DebugInfo/AArch64/
H A Dfallthrough-branch.ll39 !14 = !{i32 1, !"Swift Version", i32 7}
40 !15 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !16, producer: "Swift", emissionKind: …
/llvm-project/llvm/test/DebugInfo/X86/
H A Dsdag-combine.ll46 !10 = !DIFile(filename: "Swift.swiftmodule", directory: "/usr/lib/swift/macosx/x86_64")
47 !11 = !DIModule(scope: null, name: "Swift", includePath: "/Xcode.app/Contents/Developer/Platforms/M…
/llvm-project/llvm/test/tools/opt-viewer/Inputs/suppress/
H A Ds.swift1 import Swift

123456