File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Interop/SwiftToCxx/stdlib Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -342,12 +342,12 @@ void ClangSyntaxPrinter::printIncludeForShimHeader(StringRef headerName) {
342
342
" swiftToCxx'.\n " ;
343
343
os << " #if __has_include(<../../../swift/swiftToCxx/" << headerName << " >)\n " ;
344
344
os << " #include <../../../swift/swiftToCxx/" << headerName << " >\n " ;
345
- os << " #elif __has_include(<../../../../lib/swift/swiftToCxx/" << headerName
346
- << " >)\n " ;
345
+ os << " #elif __has_include(<../../../../../ lib/swift/swiftToCxx/"
346
+ << headerName << " >)\n " ;
347
347
os << " // "
348
- " '<toolchain>/usr/local/lib/clang/<version>/include/../../../../lib/"
348
+ " '<toolchain>/usr/local/lib/clang/<version>/include/../../../../../ lib/"
349
349
" swift/swiftToCxx'.\n " ;
350
- os << " #include <../../../../lib/swift/swiftToCxx/" << headerName << " >\n " ;
350
+ os << " #include <../../../../../ lib/swift/swiftToCxx/" << headerName << " >\n " ;
351
351
os << " // Alternatively, allow user to find the header using additional "
352
352
" include path into '<toolchain>/lib/swift'.\n " ;
353
353
os << " #elif __has_include(<swiftToCxx/" << headerName << " >)\n " ;
Original file line number Diff line number Diff line change 1
- 1
1
+ 2
Original file line number Diff line number Diff line change 71
71
72
72
// CHECK: #if __has_include(<../../../swift/swiftToCxx/_SwiftStdlibCxxOverlay.h>)
73
73
// CHECK-NEXT: #include <../../../swift/swiftToCxx/_SwiftStdlibCxxOverlay.h>
74
- // CHECK-NEXT: #elif __has_include(<../../../../lib/swift/swiftToCxx/_SwiftStdlibCxxOverlay.h>)
75
- // CHECK-NEXT: // '<toolchain>/usr/local/lib/clang/<version>/include/../../../../lib/swift/swiftToCxx'.
76
- // CHECK-NEXT: #include <../../../../lib/swift/swiftToCxx/_SwiftStdlibCxxOverlay.h>
74
+ // CHECK-NEXT: #elif __has_include(<../../../../../ lib/swift/swiftToCxx/_SwiftStdlibCxxOverlay.h>)
75
+ // CHECK-NEXT: // '<toolchain>/usr/local/lib/clang/<version>/include/../../../../../ lib/swift/swiftToCxx'.
76
+ // CHECK-NEXT: #include <../../../../../ lib/swift/swiftToCxx/_SwiftStdlibCxxOverlay.h>
77
77
// CHECK-NEXT: // Alternatively, allow user to find the header using additional include path into '<toolchain>/lib/swift'.
78
78
// CHECK-NEXT: #elif __has_include(<swiftToCxx/_SwiftStdlibCxxOverlay.h>)
79
79
// CHECK-NEXT: #include <swiftToCxx/_SwiftStdlibCxxOverlay.h>
Original file line number Diff line number Diff line change 36
36
// CHECK-NEXT: // '<toolchain>/usr/lib/clang/<version>/include/../../../swift/swiftToCxx'.
37
37
// CHECK-NEXT: #if __has_include(<../../../swift/swiftToCxx/_SwiftCxxInteroperability.h>)
38
38
// CHECK-NEXT: #include <../../../swift/swiftToCxx/_SwiftCxxInteroperability.h>
39
- // CHECK-NEXT: #elif __has_include(<../../../../lib/swift/swiftToCxx/_SwiftCxxInteroperability.h>)
40
- // CHECK-NEXT: // '<toolchain>/usr/local/lib/clang/<version>/include/../../../../lib/swift/swiftToCxx'.
41
- // CHECK-NEXT: #include <../../../../lib/swift/swiftToCxx/_SwiftCxxInteroperability.h>
39
+ // CHECK-NEXT: #elif __has_include(<../../../../../ lib/swift/swiftToCxx/_SwiftCxxInteroperability.h>)
40
+ // CHECK-NEXT: // '<toolchain>/usr/local/lib/clang/<version>/include/../../../../../ lib/swift/swiftToCxx'.
41
+ // CHECK-NEXT: #include <../../../../../ lib/swift/swiftToCxx/_SwiftCxxInteroperability.h>
42
42
// CHECK-NEXT: // Alternatively, allow user to find the header using additional include path into '<toolchain>/lib/swift'.
43
43
// CHECK-NEXT: #elif __has_include(<swiftToCxx/_SwiftCxxInteroperability.h>)
44
44
// CHECK-NEXT: #include <swiftToCxx/_SwiftCxxInteroperability.h>
You can’t perform that action at this time.
0 commit comments