File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -43,20 +43,20 @@ add_dependencies(swiftClangImporter
43
43
44
44
set_swift_llvm_is_available (swiftClangImporter )
45
45
46
- # Mark - copy "cxx -interop.h" into the local include directory and install it
46
+ # Mark - copy "swift -interop-support .h" into the local include directory and install it
47
47
# into the compiler toolchain.
48
48
set (SWIFTINC_DIR
49
49
"${CMAKE_BINARY_DIR} /${CMAKE_CFG_INTDIR} /include/swift" )
50
50
51
51
add_custom_command (
52
- OUTPUT "${SWIFTINC_DIR} /cxx -interop.h"
53
- COMMAND "${CMAKE_COMMAND} " "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR} /cxx -interop.h" "${SWIFTINC_DIR} " )
52
+ OUTPUT "${SWIFTINC_DIR} /swift -interop-support .h"
53
+ COMMAND "${CMAKE_COMMAND} " "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR} /swift -interop-support .h" "${SWIFTINC_DIR} " )
54
54
55
55
add_custom_target ("copy_cxxInterop_support_header"
56
- DEPENDS "${SWIFTINC_DIR} /cxx -interop.h"
56
+ DEPENDS "${SWIFTINC_DIR} /swift -interop-support .h"
57
57
COMMENT "Copying C++ interop support header to ${SWIFTINC_DIR} " )
58
58
59
- swift_install_in_component (FILES "${CMAKE_CURRENT_SOURCE_DIR} /cxx -interop.h"
59
+ swift_install_in_component (FILES "${CMAKE_CURRENT_SOURCE_DIR} /swift -interop-support .h"
60
60
DESTINATION "include/swift"
61
61
COMPONENT compiler )
62
62
Original file line number Diff line number Diff line change 1
- // ===--- cxx -interop.h - C++ and Swift Interop ---------- --------*- C++ -*-===//
1
+ // ===--- swift -interop-support .h - C++ and Swift Interop --------*- C++ -*-===//
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
14
14
// codebases that interoperate with Swift.
15
15
//
16
16
// ===----------------------------------------------------------------------===//
17
- #ifndef SWIFT_CLANGIMPORTER_CXX_INTEROP_H
18
- #define SWIFT_CLANGIMPORTER_CXX_INTEROP_H
17
+ #ifndef SWIFT_CLANGIMPORTER_SWIFT_INTEROP_SUPPORT_H
18
+ #define SWIFT_CLANGIMPORTER_SWIFT_INTEROP_SUPPORT_H
19
19
20
20
#define SELF_CONTAINED __attribute__ ((swift_attr(" import_owned" )))
21
21
#define SAFE_TO_IMPORT __attribute__ ((swift_attr(" import_unsafe" )))
28
28
29
29
#define SWIFT_NAME (_name ) __attribute__((swift_name(#_name)))
30
30
31
- #endif // SWIFT_CLANGIMPORTER_CXX_INTEROP_H
31
+ #endif // SWIFT_CLANGIMPORTER_SWIFT_INTEROP_SUPPORT_H
You can’t perform that action at this time.
0 commit comments