Skip to content

Commit 75201e8

Browse files
committed
[cxx-interop] Rename swift-interop-support.h -> swift/bridging.
There are some updates to the contents as well. Those will be a different patch.
1 parent 18fd92e commit 75201e8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/ClangImporter/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,20 @@ add_dependencies(swiftClangImporter
4343

4444
set_swift_llvm_is_available(swiftClangImporter)
4545

46-
# Mark - copy "swift-interop-support.h" into the local include directory and install it
47-
# into the compiler toolchain.
46+
# Mark - copy "bridging" (support header) into the local include directory and
47+
# install it into the compiler toolchain.
4848
set(SWIFTINC_DIR
4949
"${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/include/swift")
5050

5151
add_custom_command(
52-
OUTPUT "${SWIFTINC_DIR}/swift-interop-support.h"
53-
COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/swift-interop-support.h" "${SWIFTINC_DIR}")
52+
OUTPUT "${SWIFTINC_DIR}/bridging"
53+
COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/bridging" "${SWIFTINC_DIR}")
5454

5555
add_custom_target("copy_cxxInterop_support_header"
56-
DEPENDS "${SWIFTINC_DIR}/swift-interop-support.h"
56+
DEPENDS "${SWIFTINC_DIR}/bridging"
5757
COMMENT "Copying C++ interop support header to ${SWIFTINC_DIR}")
5858

59-
swift_install_in_component(FILES "${CMAKE_CURRENT_SOURCE_DIR}/swift-interop-support.h"
59+
swift_install_in_component(FILES "${CMAKE_CURRENT_SOURCE_DIR}/bridging"
6060
DESTINATION "include/swift"
6161
COMPONENT compiler)
6262

lib/ClangImporter/swift-interop-support.h renamed to lib/ClangImporter/bridging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- swift-interop-support.h - C++ and Swift Interop --------*- C++ -*-===//
1+
//===------------------ bridging - C++ and Swift Interop --------*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

0 commit comments

Comments
 (0)