Skip to content

Commit e395df3

Browse files
authored
Merge pull request #69930 from rintaro/astgen-regex-cleanup
[Parse] Remove RegexParserBridging.h
2 parents c248b95 + 986415a commit e395df3

File tree

6 files changed

+3
-72
lines changed

6 files changed

+3
-72
lines changed

SwiftCompilerSources/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ else()
250250
")
251251
add_custom_command(
252252
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/HeaderDependencies.cpp"
253+
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/HeaderDependencies.cpp.tmp"
253254
COMMAND ${CMAKE_COMMAND} -E copy_if_different
254255
"${CMAKE_CURRENT_BINARY_DIR}/HeaderDependencies.cpp.tmp"
255256
"${CMAKE_CURRENT_BINARY_DIR}/HeaderDependencies.cpp"

include/module.modulemap

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,3 @@ module OptimizerBridging {
2626
header "swift/SILOptimizer/OptimizerBridging.h"
2727
export *
2828
}
29-
30-
module _RegexParserBridging {
31-
header "swift/Parse/RegexParserBridging.h"
32-
export *
33-
}

include/swift/Parse/RegexParserBridging.h

Lines changed: 0 additions & 64 deletions
This file was deleted.

lib/ASTGen/Sources/ASTGen/Regex.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import _RegexParserBridging
1413
import ASTBridging
1514
import BasicBridging
1615

lib/Parse/Lexer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "swift/Basic/SourceManager.h"
2222
#include "swift/Bridging/ASTGen.h"
2323
#include "swift/Parse/Confusables.h"
24-
#include "swift/Parse/RegexParserBridging.h"
2524
#include "llvm/ADT/SmallString.h"
2625
#include "llvm/ADT/StringSwitch.h"
2726
#include "llvm/ADT/Twine.h"

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,8 @@ function(_compile_swift_files
978978
add_custom_command_target(unused_var
979979
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${file_path}.tmp" "${file_path}"
980980
CUSTOM_TARGET_NAME ${file_path_target}
981-
OUTPUT "${file_path}")
981+
OUTPUT "${file_path}"
982+
DEPENDS "${file_path}.tmp")
982983
endif()
983984

984985
# If this platform/architecture combo supports backward deployment to old

0 commit comments

Comments
 (0)