| /llvm-project-15.0.7/clang/test/Index/Core/ |
| H A D | external-source-symbol-attr.m | 3 #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 D | attr-external-source-symbol.m | 3 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 D | swift-interface.test | 12 # 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 D | s.opt.yaml | 11 - 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 D | s.swift | 1 import Swift
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | category-attribute.m | 13 __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 D | objc-swift-mixed-imageinfo-macho.ll | 4 ; 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 D | empty-swift.ll | 3 ; 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 D | swift-interface.s | 1 ##; 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 D | swift.ll | 10 ; 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 D | upgrade-garbage-collection-for-swift.ll | 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-15.0.7/lld/test/MachO/ |
| H A D | objc-imageinfo.s | 71 ## 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 D | force-load-swift-libs.ll | 16 ;; 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 D | Swift.def | 1 //===- llvm/BinaryFormat/Swift.def - Swift definitions ---------*- C++ -*-===// 9 // Macros for running through Swift enumerators.
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | APINotes.rst | 58 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 D | dbg-tcreturn.ll | 30 !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 D | swift-async-unwind.ll | 3 ; 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 D | same-num-inlines.test | 6 ; CHECK:Swift ABI Version 25 ; CHECK-NEXT: Swift ABI Version
|
| H A D | right-single-inlines.test | 12 ; CHECK-NEXT:Swift ABI Version 43 ; CHECK-NEXT: Swift ABI Version
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/ |
| H A D | remove-swift-symbols.test | 1 ## 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 D | instr-ref-tcreturn.ll | 50 !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 D | attr-swift_name.m | 28 …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 D | fallthrough-branch.ll | 38 !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 D | sdag-combine.ll | 47 !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 D | CallingConv.h | 73 Swift = 16, enumerator
|