Skip to content

Commit d88bfb6

Browse files
committed
[SourceKit] Rename Concurrency-Mac.cpp to Concurrency-libdispatch.cpp
This file builds fine as long as libdispatch is available, even on non-Darwin platforms.
1 parent 1b6de0c commit d88bfb6

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tools/SourceKit/lib/Support/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
set(SourceKitSupport_sources
2+
Concurrency-libdispatch.cpp
23
FuzzyStringMatcher.cpp
34
Logging.cpp
45
ImmutableTextBuffer.cpp
@@ -7,13 +8,6 @@ set(SourceKitSupport_sources
78
UIDRegistry.cpp
89
)
910

10-
set(SourceKitSupport_Darwin_sources
11-
Concurrency-Mac.cpp)
12-
set(LLVM_OPTIONAL_SOURCES ${SourceKitSupport_Darwin_sources})
13-
if(APPLE)
14-
list(APPEND SourceKitSupport_sources ${SourceKitSupport_Darwin_sources})
15-
endif()
16-
1711
set(SOURCEKIT_SUPPORT_DEPEND swiftBasic clangBasic clangRewrite)
1812
if(SOURCEKIT_NEED_EXPLICIT_LIBDISPATCH)
1913
list(APPEND SOURCEKIT_SUPPORT_DEPEND dispatch)

tools/SourceKit/lib/Support/Concurrency-Mac.cpp renamed to tools/SourceKit/lib/Support/Concurrency-libdispatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- Concurrency-Mac.cpp ----------------------------------------------===//
1+
//===--- Concurrency-libdispatch.cpp --------------------------------------===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

0 commit comments

Comments
 (0)