swift-ci
e010cb4cd4
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-24 20:43:47 -07:00
Xi Ge
3103b5cec1
Frontend: set up output file .swiftsourceinfo
...
This patch will focus on teaching driver and frontend to emit this file.
The actual content and de-serialization parts will come later.
More details: https://forums.swift.org/t/proposal-emitting-source-information-file-during-compilation/28794
2019-09-24 13:52:17 -07:00
swift-ci
a9e39bdb21
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-13 21:03:33 -07:00
swift-ci
0c440ff5ef
Merge remote-tracking branch 'origin/master' into master-next
2019-09-13 20:49:32 -07:00
Harlan Haskins
8aa5caed71
Merge pull request #27175 from harlanhaskins/mods-are-asleep-post-cleanups
...
NFC: Excise ParseableInterface from code
2019-09-13 20:47:53 -07:00
Harlan Haskins
c82c9b8210
[ModuleInterfaces] Remove references to 'parseable' interfaces everywhere
...
Now that we've settled on Module Interface as the name, let's remove the
vestiges of "Parseable Interfaces"
2019-09-13 14:55:48 -07:00
swift-ci
1b531a3491
Merge remote-tracking branch 'origin/master' into master-next
2019-09-13 11:50:18 -07:00
swift-ci
f079ce868a
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-13 11:44:16 -07:00
Sasha Krassovsky
c5bfa450ee
Fix warnings in Basic
2019-09-13 09:57:48 -07:00
Jordan Rose
eefb0d0644
Merge remote-tracking branch 'origin/master' into master-next
2019-09-04 14:01:43 -07:00
swift-ci
a6f4a4650b
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-04 12:43:45 -07:00
Joe Groff
0ae86c9c9d
IRGen: Backward-deploy fix using open-coded accessors.
...
If we mangled an opaque associated type while targeting an older OS, we can use a \9
accessor reference string to instantiate the associated type.
2019-09-04 10:22:17 -07:00
Erik Eckstein
56ecda51fa
Merge remote-tracking branch 'origin/master' into master-next
2019-09-03 20:42:28 +02:00
swift-ci
0e4feadfbc
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-09-03 10:23:48 -07:00
Doug Gregor
d7f6768a9d
Eliminate DelayedParsingCallbacks.
...
DelayedParsingCallbacks only had one implementation, for code
completion, which is only used to determine which bodies to skip and
which to delay. Inline that logic into the parser's delay logic and
remove DelayedParsingCallbacks entirely.
2019-09-02 19:03:07 -07:00
Saleem Abdulrasool
8b4573e25b
Basic: convert descriptors to FILE *
...
Ensure that convert the file descriptor to `FILE *` when passing the parameter
to `fs::mapped_file_region`'s constructor which takes a `FILE *`. Repairs the
build for Windows.
2019-08-26 14:00:31 -07:00
Arnold Schwaighofer
2b41f8d8d5
Merge remote-tracking branch 'origin/master' into master-next
2019-08-26 08:57:42 -07:00
swift-ci
fbe8e56e8b
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-08-24 10:03:05 -07:00
Brent Royal-Gordon
cac979ac09
Merge pull request #25977 from roop/sr11037_fixit_platform_condition_kind
...
[Parser][QoI] Offer fixit for changing the platform condition kind
2019-08-24 09:46:55 -07:00
swift-ci
86e95c23aa
Merge remote-tracking branch 'origin/master' into master-rebranch
2019-08-23 17:43:50 -07:00
Brent Royal-Gordon
a5955fc682
[NFC] Extract helper from moveFileIfDifferent()
...
This separates the “do these two files have the same contents?” logic from the “move or delete” logic in `moveFileIfDifferent()`, creating a useful helper function. It also ties the special-case behavior for the `destination` parameter to a flag, since we have a use where we won’t want that.
2019-08-22 19:37:53 -07:00
Roopesh Chander
cf9bb32527
Simplify code using ArrayRef
2019-08-21 20:09:53 +00:00
Roopesh Chander
5e01b55a04
[Parser][QoI] Suppress fixits to underscored platform condition kinds
...
"_endian" and "_runtime" aren't officially supported platform condition
kinds, so don't suggest changing to one of those.
2019-08-21 19:52:03 +00:00
Roopesh Chander
b75711c2d2
Make a .def file for PlatformConditionKind
2019-08-21 19:52:00 +00:00
Roopesh Chander
34fec7f1d4
[Parser][QoI] Offer fixit for changing the platform condition kind
...
For example, for "#if os(simulator)", offer a fixit to change
"os" to "targetEnvironment", instead of offering to change "simulator".
Resolves SR-11037.
2019-08-21 19:51:47 +00:00
Jonas Devlieghere
b4d268e9e1
Migrate llvm::make_unique to std::make_unique
...
Now that we've moved to C++14, we no longer need the llvm::make_unique
implementation from STLExtras.h. This patch is a mechanical replacement
of (hopefully) all the llvm::make_unique instances in the swift repo.
2019-08-15 11:32:39 -07:00
Brent Royal-Gordon
fb20b503ba
Merge branch 'master' into master-rebranch
...
# Conflicts:
# lib/ClangImporter/ClangImporter.cpp
# test/IRGen/builtins.swift
# test/IRGen/enum.sil
# tools/driver/autolink_extract_main.cpp
# utils/build-presets.ini
2019-08-08 17:07:59 -07:00
swift-ci
94134dd190
Merge remote-tracking branch 'origin/master' into master-next
2019-08-06 10:29:29 -07:00
Saleem Abdulrasool
5de7c6f33e
Basic: normalise android triples when loading modules
...
The android API level can be ignored when loading the module. The API
level controls the NDK APIs which are available and is equivalent to the
SDK version for Darwin. This allows us to keep the API level in the
triple which future versions of Android's toolchain does.
2019-08-05 20:14:30 -07:00
swift-ci
d8217dfb31
Merge remote-tracking branch 'origin/master' into master-next
2019-08-02 14:49:48 -07:00
Jordan Rose
87b7ee1bc0
Tweak Swift-in-OS check to account for linker limitations
...
The backwards-deployment install name trickery we're using doesn't
handle "patch" components in version numbers, so we still need to
provide an rpath even when deploying to macOS 10.14.4.
2019-08-02 13:33:36 -07:00
Graydon Hoare
c2556ebf7d
<rdar://43616773> Add swift::tripleHasSwiftInTheOS helper.
2019-08-02 13:27:02 -07:00
Puyan Lotfi
ede421e5f4
Adding fs::convertFDToNativeFile conversion to FileSystem.cpp.
2019-07-16 11:52:54 -07:00
swift-ci
606228e1ae
Merge remote-tracking branch 'origin/master' into master-next
2019-07-15 14:49:05 -07:00
Xi Ge
f27ccabdb1
SourceKit/Formatting: avoid indenting for consecutive dot-member calls
...
rdar://52392291
2019-07-12 14:03:03 -07:00
swift-ci
c99285f107
Merge remote-tracking branch 'origin/master' into master-next
2019-07-09 16:30:28 -07:00
Marc Rasi
cd2556d07d
fix memory leak in swift::sys::Cache
...
It fails to destroy a key in one case.
2019-07-09 11:14:48 -07:00
swift-ci
93e08a6674
Merge remote-tracking branch 'origin/master' into master-next
2019-06-06 11:29:01 -07:00
Mishal Shah
c2848e793f
Merge pull request #25236 from apple/update-master-xcode-11-beta1
...
Update master to build with Xcode 11 beta, macOS 10.15, iOS 13, tvOS 13, and watchOS 6 SDKs
2019-06-06 11:22:40 -07:00
swift-ci
185cf45232
Merge remote-tracking branch 'origin/master' into master-next
2019-06-05 10:09:08 -07:00
Joe Groff
0e63852db2
Merge pull request #25240 from linux-on-ibm-z/cluster-to-apint
...
Basic: Use APInt to implement ClusteredBitVector
2019-06-05 10:03:32 -07:00
swift-ci
ed38fe6251
Merge remote-tracking branch 'origin/master' into master-next
2019-06-04 10:09:06 -07:00
Michael Munday
192bcb2007
Basic: Use APInt to implement ClusteredBitVector
...
Simplify the implementation of ClusteredBitVector by using an APInt
to represent the raw bits. This simplification will make it easier
to incrementally move to a representation of bit vectors that works
on both big- and little-endian machines.
This commit also removes reserve and reserveExtra from the API
since they were only used in one place and no longer have any effect
because memory allocation is now handled by the APInt class.
2019-06-04 14:05:10 +01:00
mishal_shah
1e38fc3030
Update master to build with Xcode 11 beta, macOS 10.15, iOS 13, tvOS 13, and watchOS 6 SDKs
2019-06-03 22:50:02 -07:00
Joe Groff
4ed8de10f9
Revert "Revert "Use autolinking to pull in compatibility libraries.""
2019-06-03 20:10:51 -07:00
swift-ci
fd329da063
Merge remote-tracking branch 'origin/master' into master-next
2019-06-03 14:29:47 -07:00
Joe Groff
a7cc3a38cc
Revert "Use autolinking to pull in compatibility libraries."
2019-06-03 14:18:39 -07:00
swift-ci
40c3c8caa5
Merge remote-tracking branch 'origin/master' into master-next
2019-06-03 08:30:09 -07:00
Joe Groff
a740ee55b2
Merge pull request #25148 from jckarter/runtime-compatibility-autolink
...
Use autolinking to pull in compatibility libraries.
2019-06-03 08:22:49 -07:00
swift-ci
64a1b3eec6
Merge remote-tracking branch 'origin/master' into master-next
2019-06-02 15:10:19 -07:00