Commit Graph

4111 Commits

Author SHA1 Message Date
Rintaro Ishizaki
68555dbf7e [Syntax] Add 'element_name' and 'collection_element_name' where needed 2019-05-02 11:24:25 -07:00
Xi Ge
24f5ba741a Syntax: add Syntax support for property delegate attributes
rdar://50056605
2019-05-02 09:50:40 -07:00
Daniel Rodríguez Troitiño
adf224bf8e Merge pull request #24359 from drodriguez/android-do-not-build-unnecessary
[android] Remove parts of the build process which are not Android.
2019-05-01 15:41:49 -07:00
Rintaro Ishizaki
3acd050e33 Merge pull request #24398 from kitasuke/revert-24385
Revert "Revert "SR-10469 Unknown syntax for interpolated string liter…
2019-05-01 10:51:56 -07:00
Saleem Abdulrasool
2e7c328077 Merge pull request #24168 from xiaobai/sink_component_arg
[CMake] Modify swift_install_in_component to support cmake install components
2019-04-30 21:06:32 -07:00
Daniel Rodríguez Troitiño
fd2cf6553c Merge pull request #24146 from drodriguez/android-faster-adb-push
[android] Make ADB push use sync if available.
2019-04-30 17:42:02 -07:00
kitasuke
94815fae26 Revert "Revert "SR-10469 Unknown syntax for interpolated string literal""
This reverts commit 18dd11ab21.
2019-04-30 22:35:29 +01:00
Mishal Shah
18dd11ab21 Revert "SR-10469 Unknown syntax for interpolated string literal" 2019-04-29 23:09:58 -07:00
Rintaro Ishizaki
9b6ba43de6 Merge pull request #24280 from kitasuke/SR-10469-func-call-args_list
SR-10469 Unknown syntax for interpolated string literal
2019-04-29 17:34:45 -07:00
Stephen Canon
d2f695935f Add availability information to the new Math function protocols (#24187)
* Add availability information to the new Math function protocols

The protocols ElementaryFunctions, RealFunctions, and Real are new in Swift 5.1 and accordingly need to have availability attached to them for platforms that are ABI-stable. The actual implementation hooks (static functions) are unconditionally defined on scalar types and marked @_alwaysEmitIntoClient, so they are available even when targeting older library versions, but the protocols themselves, and anything defined in terms of them (the global functions and the SIMD extensions) is only available when targeting library versions that have the new protocols.

* Additionally provide concrete implementations of signGamma for each stdlib-builtin floating-point type.

* Remove Real[Functions] protocols pending re-review

Temporarily pull these back so we can make minor tweaks to the design and get a re-review on SE.
2019-04-29 17:39:33 -04:00
Daniel Rodríguez Troitiño
5701edd4fe [android] Remove parts of the build process which are not Android.
At the moment, the only pieces build for Android with the build-script
is the standard library for Swift. This changes the Android CI presets
to skip the later parts of the build-script which only build for the
host machine, saving time and random errors.
2019-04-29 13:43:02 -07:00
Davidino Italiano
ebb197930c [build-script] Use a regex to match all the swift tests. 2019-04-26 10:37:42 -07:00
kitasuke
790d359257 Set collection element name for ExpressionSegment's Expressions 2019-04-26 07:26:07 +02:00
kitasuke
81ed9cc2f9 Merge branch 'master' into SR-10469-func-call-args_list 2019-04-26 06:29:02 +02:00
Davidino Italiano
9c506fe435 [build-script] Fix defaults and unittests. 2019-04-25 14:12:54 -07:00
Davidino Italiano
d6d918983c [lldb] Switch PR testing and build to use CMake by default. 2019-04-25 14:12:36 -07:00
Davidino Italiano
96abd3dcff [build-script] Use --filter to implement --lldb-test-only-swift.
<rdar://problem/50211354>
2019-04-25 14:10:45 -07:00
Mishal Shah
3f897d6cdf Add support for swift-5.1-branch-04-24-2019 branch 2019-04-24 13:58:04 -07:00
Mishal Shah
99eb35c97c Merge pull request #24147 from apple/update-checkout-5.1-branches
Update the swift-5.1-branch scheme to use swift-5.1-branch
2019-04-24 13:33:46 -07:00
Davide Italiano
12a472c656 Revert "[lldb] Switch PR testing and build to use CMake by default."
This reverts commit 5dec537173.
2019-04-24 11:30:21 -07:00
Davide Italiano
dacf0bb7ac Revert "[build-script] Fix defaults and unittests."
This reverts commit 5b5041ddb0.
2019-04-24 11:30:15 -07:00
Mishal Shah
96ef201676 Merge pull request #24236 from apple/shahmishal/remote-run-config
Add support for SSH config file option in remote-run
2019-04-24 08:57:33 -07:00
Argyrios Kyrtzidis
5a6a110f16 Merge pull request #24227 from akyrtzi/gyb-syntax-def-element-name
[utils/gyb_syntax_support] Add `collection_element_name` for when specifying a `Child`
2019-04-24 00:19:49 -07:00
Mishal Shah
4774b54fad Add support for SSH config file option in remote-run 2019-04-23 23:26:15 -07:00
Argyrios Kyrtzidis
3612cd3d72 [utils/gyb_syntax_support] Add collection_element_name for when specifying a Child
This is useful to provide `add<ELEMENT_NAME>` APIs for SwiftSyntax that are better named
and without having name conflicts.
2019-04-23 18:14:39 -07:00
Davide Italiano
c38894612c Merge pull request #23908 from dcci/lldb-me
[lldb] Switch PR testing and build to use CMake by default.
2019-04-23 17:08:00 -07:00
Adrian Prantl
013b9bcf31 [build-script] Pass the just-built dsymutil to dotest.py 2019-04-23 13:23:28 -07:00
kitasuke
abd6dcfece Change expression kind from Expr to FunctionCallArgumentList 2019-04-23 17:54:26 +09:00
Rintaro Ishizaki
b5351a154c [CursorInfo] UID for opaque result type.
rdar://problem/49819227
2019-04-19 17:34:08 -07:00
Xi Ge
6743b6103b IDE: treat some as keyword for opaque result type 2019-04-19 17:11:03 -07:00
Xi Ge
644b5ecd53 libSyntax: add support for some type. rdar://49398494 2019-04-19 17:10:53 -07:00
Alex Langford
3d9a28925b [CMake] Modify swift_install_in_component to support cmake install components
CMake supports the notion of installation components. Right now we have some
custom code for supporting swift components. I think that for installation
purposes, it would be nice to use the CMake component system.

This should be a non-functional change. We should still only be generating
install rules for targets and files in components we want to install, and we
still use the install ninja target to install everything.
2019-04-19 14:06:11 -07:00
Mishal Shah
38d9b0eb13 Update the swift-5.1-branch scheme to use swift-5.1-branch 2019-04-18 16:13:29 -07:00
Daniel Rodríguez Troitiño
e348f6c5ec [android] Make ADB push use sync if available.
In recent adb versions, the push command supports a new option --sync
which performs checksumming of the files to transmit against the files
already in the device. This increases the effective transmission speed
of the inital step in the test for Android.

It should not affect the speed of each tests, since they are pushed to
different folders, and also they are removed when they are successful.
However, the test executables are small compared to the size of the
libraries from the stadard library and dependencies.

This should exclusively affect Android and only to people testing the
executable tests (not CI).
2019-04-18 16:01:52 -07:00
Stephen Canon
57a4553832 SE-0246: Protocols and static functions (#23824)
This implements the protocols and static functions proposed in SE-0246, plus some initial test coverage. It also has some rough accompanying cleanup of tgmath. It does not include the globals (on scalars or SIMD types) nor does it deprecate much in tgmath.h.
2019-04-17 23:57:33 +02:00
swift-ci
a2d932daaf Merge pull request #24050 from nkcsgexi/synthesize-r-brace 2019-04-15 18:50:08 -07:00
Xi Ge
746a88aec8 Syntax: synthesize right brace tokens if they are missing from nominal type decls. 2019-04-15 16:45:26 -07:00
Fred Riss
98daff3cbf [build-script] Pass llvm_build_dir to the LLDB build 2019-04-15 13:42:58 -07:00
Saleem Abdulrasool
77a79f236b Merge pull request #23967 from compnerd/cleanup-corefoundation-paths
build: remove unnecessary CoreFoundation path passing
2019-04-12 07:47:14 -07:00
Michael Gottesman
dffd445f47 Merge pull request #23958 from gottesmm/pr-f93f190495ccffb798faf5aca6d007caa305fb75
[benchmarks] Test that we can keep on building the benchmarks against…
2019-04-11 15:01:29 -07:00
Saleem Abdulrasool
8e365b5bfb build: remove unnecessary CoreFoundation path passing
Passing these paths around is no longer needed.  Simplify the build
rules.
2019-04-11 13:32:23 -07:00
swift-ci
078b9f5af4 Merge pull request #23953 from adrian-prantl/debugserver 2019-04-11 13:24:08 -07:00
swift-ci
cfc03f85b6 Merge pull request #23955 from gottesmm/pr-098e8d08913c6672dcb8933d89afcd7c9f900dbd 2019-04-11 12:13:52 -07:00
swift-ci
f8252b7bd8 Merge pull request #23954 from gottesmm/pr-219b006a421eed9cdc6452d64a6c19870dfa3c5d 2019-04-11 12:09:18 -07:00
swift-ci
0de62cb148 Merge pull request #23915 from drodriguez/build-script-host-specific-configuration-take-2 2019-04-11 12:05:11 -07:00
Michael Gottesman
df39948929 [benchmarks] Test that we can keep on building the benchmarks against toolchains by using build-script instead of via the integration tests.
This will ensure that I can put this down for now and things do not break.

In a subsequent commit to the integration test suite I am going to remove that
test.
2019-04-11 11:04:50 -07:00
Michael Gottesman
4a6154b4c4 [build-script] Rename ToolchainBenchmarks -> Benchmarks.
This is a better name for the internal interface. The outside option is still
--toolchain-benchmarks to distinguish it from the normal --benchmarks which is
part of swift's cmake.
2019-04-11 10:38:27 -07:00
Michael Gottesman
c86c1763c6 [benchmarks] Add support to the build-script swiftpm benchmarks for building the benchmarks in -Osize. 2019-04-11 10:10:38 -07:00
Adrian Prantl
eba5cf4784 Make LLDB_USE_SYSTEM_DEBUGSERVER also configurable in CMake builds. 2019-04-11 10:07:36 -07:00
Michael Gottesman
53ff97428a [benchmarks] Change the build_script_helper to use subdirectories for each build and install final binaries in a toplevel ./bin build directory.
This will let me:

1. Add -Osize support easily.
2. Put all of the binaries in the same directory so that Benchmark_Driver can
   work with them via the -tools argument.
2019-04-10 22:18:50 -07:00