Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/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…
21 // CHECK: [[@LINE-1]]:12 | class/Swift | I2 | c:@M@some_module@objc(cs)I2 | {{.*}} | Decl | rel: 0
27 // CHECK: [[@LINE-3]]:15 | instance-property/Swift | prop | c:@M@some_module@objc(cs)I2(py)prop |
31 // CHECK: [[@LINE-1]]:12 | class/Swift | I1 | c:@M@some_module@objc(cs)I1 |
38 // CHECK: [[@LINE-1]]:11 | protocol/Swift | ExtProt | c:@M@some_module@objc(pl)ExtProt |
49 // CHECK: [[@LINE-1]]:15 | extension/Swift | cat2 | c:@CM@cat_module@some_module@objc(cy)I1@cat2 |
90 // CHECK: [[@LINE-1]]:12 | class/Swift | I3 | c:@M@modname@objc(cs)I3 |
91 // CHECK: [[@LINE-2]]:23 | protocol/Swift | ExtProt2 | c:@M@modname@objc(pl)ExtProt2 |
92 // CHECK: [[@LINE-3]]:40 | enum/Swift | SomeEnum | c:@M@modname@E@SomeEnum |
94 // CHECK: [[@LINE-1]]:7 | instance-method/Swift | meth | c:@M@modname@objc(cs)I3(im)meth |
[all …]
/llvm-project-15.0.7/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")));
31 __attribute__((external_source_symbol(language="Swift", language="Swift"))); // expected-error {{du…
36 …generated_declaration, language="Swift", defined_in="foo", generated_declaration, generated_declar…
45 __attribute__((external_source_symbol(language=Swift))); // expected-error {{expected string litera…
51 __attribute__((external_source_symbol(="Swift"))); // expected-error {{expected 'language', 'define…
54 __attribute__((external_source_symbol("Swift", "module", generated_declaration))); // expected-erro…
57 __attribute__((external_source_symbol(language="Swift", "generated_declaration"))); // expected-err…
[all …]
/llvm-project-15.0.7/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}}
16 # WARNINGS: cannot copy parseable Swift interface {{.*}}Foo
17 # WARNINGS-NOT: cannot copy parseable Swift interface {{.*}}{{Swift|Foundation}}
/llvm-project-15.0.7/llvm/test/tools/opt-viewer/Inputs/suppress/
H A Ds.opt.yaml11 - Function: '"Swift.CountableRange.init(uncheckedBounds:)"'
25 - Function: '"Swift.Collection<>.makeIterator()"'
39 - Function: '"Swift.IndexingIterator.next()"'
53 - Function: '"Swift._allocateUninitializedArray<A>(_:)"'
67 - Function: '"Swift.Array.subscript.getter"'
80 - Callee: '"specialized Swift.CountableRange.init(uncheckedBounds:)"'
106 - Callee: '"specialized Swift.Array.subscript.getter"'
129 - Function: '"Swift._allocateUninitializedArray<A>(_:)"'
143 - Function: '"Swift.Array.init(arrayLiteral:)"'
156 - Callee: '"specialized Swift.Array.init(arrayLiteral:)"'
H A Ds.swift1 import Swift
/llvm-project-15.0.7/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-15.0.7/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-15.0.7/llvm/test/Linker/
H A Dempty-swift.ll3 ; It tests whether Swift bitcode can be successfully linked with Objecitive-C bitcode.
32 !8 = !{i32 1, !"Swift Version", i32 7}
40 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift ABI Version", i32 7}
41 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift Major Version", i8 5}
42 ; CHECK: !{{[0-9]+}} = !{i32 1, !"Swift Minor Version", i8 1}
/llvm-project-15.0.7/llvm/test/tools/dsymutil/Inputs/
H A Dswift-interface.s1 ##; Generated from the following manually stripped empty Swift program:
32 ##; !24 = !{i32 1, !"Swift Version", i32 7}
71 .asciz "Swift" ## string offset=66
72 .asciz "/SDK/Swift.swiftmodule/x86_64.swiftinterface" ## string offset=72
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dswift.ll10 ; OBJ-NEXT: Language: Swift (0x53)
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-15.0.7/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-15.0.7/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 Dforce-load-swift-libs.ll16 ;; Swift libraries passed on the CLI don't get force-loaded!
20 ;; Moreover, if a Swift library is passed on the CLI, that supersedes any
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DSwift.def1 //===- llvm/BinaryFormat/Swift.def - Swift definitions ---------*- C++ -*-===//
9 // Macros for running through Swift enumerators.
/llvm-project-15.0.7/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
101 annotations that only apply to Swift 4 mode and earlier. The other entries
148 Equivalent to ``NS_SWIFT_NAME``. For a method, must include the full Swift name
229 declaration; it should ideally only be used for Swift backwards
247 should ideally only be used for Swift backwards compatibility, when existing
263 Used for properties. If true, the property will be exposed in Swift as its
292 Note that even an "enum" wrapper is still presented as a struct in Swift;
345 Used for Objective-C class types bridged to Swift value types. An empty
347 frameworks (the Swift side of it requires conforming to implementation-detail
/llvm-project-15.0.7/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-15.0.7/llvm/test/CodeGen/AArch64/
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-15.0.7/llvm/test/tools/llvm-tapi-diff/
H A Dsame-num-inlines.test6 ; CHECK:Swift ABI Version
25 ; CHECK-NEXT: Swift ABI Version
H A Dright-single-inlines.test12 ; CHECK-NEXT:Swift ABI Version
43 ; CHECK-NEXT: Swift ABI Version
/llvm-project-15.0.7/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-15.0.7/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-15.0.7/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-15.0.7/llvm/test/DebugInfo/AArch64/
H A Dfallthrough-branch.ll38 !14 = !{i32 1, !"Swift Version", i32 7}
39 !15 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !16, producer: "Swift", emissionKind: …
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dsdag-combine.ll47 !10 = !DIFile(filename: "Swift.swiftmodule", directory: "/usr/lib/swift/macosx/x86_64")
48 !11 = !DIModule(scope: null, name: "Swift", includePath: "/Xcode.app/Contents/Developer/Platforms/M…
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DCallingConv.h73 Swift = 16, enumerator

12345