Commit Graph

4111 Commits

Author SHA1 Message Date
Saleem Abdulrasool
dca7035b7a Merge pull request #19622 from tokorom/vim-syntax-add-skipempty
[vim] add skipempty
2018-10-01 15:11:30 -07:00
tokorom
f037b7edce [vim] add skipempty 2018-09-29 11:09:25 +09:00
Ross Bayer
6a30a77941 Disabled building libclang in the OSS toolchain preset. 2018-09-28 15:13:37 -07:00
Adam Thayer
965f6190f3 [i686 Linux] Bootstrap the build
Prior to this, the swift build didn’t understand what i686 is, or what to do about building it. This unblocks building, but will still run into build breaks.
2018-09-28 10:14:44 -07:00
tokorom
75b5c11111 [vim] remove nextgroup from swiftTupleIndexNumber 2018-09-26 07:42:29 +09:00
tokorom
fb993301c6 [vim] add swiftTupleIndexNumber 2018-09-26 07:27:40 +09:00
tokorom
b1d4b0be5d [vim] Fix tuple hilight problem with swiftType 2018-09-25 15:58:00 +09:00
swift-ci
6c41168a1c Merge pull request #19512 from compnerd/cleanup-on-aisle-xctest 2018-09-24 23:55:41 -07:00
tokorom
a67a37ecbb [vim] Add swiftParenthesisRegion 2018-09-25 11:22:53 +09:00
Saleem Abdulrasool
ab56873dd5 build-script: always rebuild XCTest on non-Darwin
This should resolve SR-8826!  Ideally, we would be using CMake to tie together
all the dependent packages and get proper dependency tracking.  Currently,
change to the swift runtime do not get tracked properly, and can result in
undefined references to symbols.
2018-09-24 15:03:43 -07:00
Saleem Abdulrasool
bcbe16057f build: update the build-script-impl to limit android to ARM
Update the build-script-impl to only build the armv7 variant by default.  This
should prevent the community buildbots from failing which may not have the arm64
ICU available.
2018-09-24 10:00:27 -07:00
Saleem Abdulrasool
30a4853177 build: remove SWIFT_ANDROID_SDK_PATH
The path to the SDK can be computed from the NDK.  Do so to reduce the
parameters needed to pass to CMake.  More importantly, this will allow building
with multiple architectures simultaneously.
2018-09-24 09:54:45 -07:00
Saleem Abdulrasool
f8d27456ec Merge pull request #17180 from compnerd/xctest-cmake
build: switch to CMake for XCTest
2018-09-21 10:01:50 -07:00
Adrian Prantl
398856557e build-script: Add -t (tracing) to the dotest args. 2018-09-20 17:35:52 -07:00
Vedant Kumar
1cf16ab1f1 [build-script] Teach the lldb-xcode build how to find FileCheck (#19400) 2018-09-20 11:59:32 -07:00
eeckstein
814e656cf9 Merge pull request #19388 from eeckstein/mangling-prefix
change mangling prefix from $S to $s
2018-09-20 09:16:30 -07:00
mishal_shah
e14757e91e Update xcodebuild command for playground to use 'call' to support --dry-run in build-script 2018-09-19 15:30:55 -07:00
Erik Eckstein
39bb14b094 change mangling prefix from $S to $s
This is the final ABI mangling prefix

rdar://problem/38471478
2018-09-19 13:55:11 -07:00
Adrian Prantl
144402631a build-script / LLDB: Stop disabling dwarf tests.
<rdar://problem/42977904>
2018-09-19 10:45:59 -07:00
adrian-prantl
d957bd5d53 Merge pull request #19377 from adrian-prantl/dwarf
build-script: skip dwarf tests instead of dsym tests in LLDB testsuite
2018-09-18 17:45:21 -07:00
Adrian Prantl
52bb02145d build-script: skip dwarf tests instead of dsym tests in LLDB testsuite
This is closer to what is actually happening.
2018-09-18 16:29:09 -07:00
swift-ci
c94fdfa827 Merge pull request #19365 from adrian-prantl/42977904 2018-09-18 11:52:38 -07:00
Adrian Prantl
2dc6c3d9f7 build-script: Remove obsolete LLDB --skip-category.
<rdar://problem/42977904>
2018-09-18 09:24:38 -07:00
Mark Lacey
cc7f2ba542 Update the comment to match the current node definition. 2018-09-17 23:33:15 -07:00
Mark Lacey
a148b21730 [Syntax] Update DeclNodes.py for designated protocols parsing support. 2018-09-15 00:21:14 -07:00
Xi Ge
53121aff84 scale-test: teach the test driver to test parse only. 2018-09-12 14:15:28 -07:00
swift-ci
cc329fee03 Merge pull request #19141 from aschwaighofer/remove_constant_string_literal 2018-09-10 15:51:47 -07:00
swift-ci
d46bda7b77 Merge pull request #19164 from graydon/burning-down-the-house 2018-09-06 17:33:15 -07:00
swift-ci
5e2b705f6d Merge pull request #19131 from gottesmm/pr-67d16ab8862dce3cff561b2a4dbee16514133383 2018-09-06 15:02:39 -07:00
Michael Gottesman
0290cd4323 [sil] Eliminate end_borrow_argument now that end_borrow has a single operand.
I changed all of the places that used end_borrow_argument to use end_borrow.

NOTE: I discovered in the process of this patch that we are not verifying
guaranteed block arguments completely. I disabled the tests here that show this
bad behavior and am going to re-enable them with more tests in a separate PR.
This has not been a problem since SILGen does not emit any such arguments as
guaranteed today. But once I do the SILGenPattern work this will change.

rdar://33440767
2018-09-06 14:04:57 -07:00
Graydon Hoare
93d4cca3cf [Stats] Teach process-stats-dir.py to render organized sets of flamegraphs 2018-09-06 11:39:38 -07:00
Jordan Rose
7ec1db9aa3 Re-apply "[test] Yet more tweaks to remote-run" (#19150) 2018-09-05 19:24:51 -07:00
Bob Wilson
d6184b013d Merge pull request #19129 from bob-wilson/rdar43163910
[build-script] Update the default CLANG_USER_VISIBLE_VERSION to 7.0.0
2018-09-05 13:19:18 -07:00
Arnold Schwaighofer
73df12c09f Remove dead constant_string_literal
constant_string_literal was added to support a one word representation
of String that never materialized.
2018-09-05 12:13:57 -07:00
Jordan Rose
1377722f86 Revert "[test] Yet more tweaks to remote-run" 2018-09-05 10:29:01 -07:00
Jordan Rose
9ff695f81e Merge pull request #19130 from jrose-apple/run-remote-run
[test] Yet more tweaks to remote-run
2018-09-04 20:37:15 -07:00
Jordan Rose
bcb10b505c [remote-run] Clear out %t on the remote machine
Really we ought to clear out "%t*", but running wildcards with 'rm'
scares me a little too much for that. This still fixes a handful of
tests that were relying on %t being an empty directory.

Note that this doesn't interfere with generated files persisting
between %target-run invocations; they'll be downloaded and then
re-uploaded as long as they're mentioned in the invocation.
2018-09-04 18:25:24 -07:00
Bob Wilson
61d98b2126 [build-script] Update the default CLANG_USER_VISIBLE_VERSION to 7.0.0
The swift-5.0-branch of Clang/LLVM is closest to LLVM 7.0 (and we are
investigating merging up to the real 7.0 branch). Set the default Clang
version to match.

rdar://problem/43163910
2018-09-04 17:05:47 -07:00
Michael Gottesman
c599539044 [sil] Eliminate the src parameter from end_borrow.
This does not eliminate the entrypoints on SILBuilder yet. I want to do this in
two parts so that it is functionally easier to disentangle changing the APIs
above SILBuilder and changing the underlying instruction itself.

rdar://33440767
2018-09-04 16:38:24 -07:00
Rintaro Ishizaki
2a1ab7d8e2 Merge pull request #19046 from rintaro/parse-refactor-getsetdecl
[Parse] refactor get/set block parsing
2018-09-01 00:32:57 +09:00
Alex Hoppen
3709431be5 [build-script] Build swiftsyntax as part of CI testing 2018-08-30 11:46:23 -07:00
Alex Hoppen
5c44da5313 [incrParse] Rename swift-swiftsyntax-test to swiftsyntax-lit-test-helper 2018-08-30 11:46:23 -07:00
Alex Hoppen
8a6030b96b Add build-script infrastructure to build swiftSyntax in its own repository 2018-08-30 11:46:22 -07:00
Saleem Abdulrasool
519595dbb9 build: switch to CMake for XCTest
Now that XCTest has a CMake build system, use that for the non-Darwin
builds.  This sets the stage for building Foundation with CMake.
2018-08-29 10:23:07 -07:00
Rintaro Ishizaki
51b7168d05 [Parse] Refactor get/set accessor parsing
* Use 'parseAbstractFunctionBody()' for accessors as well. This
  simplifies the implementation, and makes 'parseAbstractFunctionBody()'
  the single point of parsing body of every 'AbstructFunctionDecl' types.
2018-08-29 18:01:21 +09:00
Dave Lee
24123766f6 Fix swiftPreproc regex in swift.vim (#18994) 2018-08-27 16:22:50 -07:00
Jordan Rose
01a0de27ec [test] Update for remote-run-ing tests on a different macOS (#18966)
Most of this is just "remember to specify the inputs and outputs on
the command line, so remote-run can see them". A bit is "prefix
environment variables with '%env-'". And the last few are "yeah,
this was never going to work in a remote environment".

In the few cases where I couldn't think of anything reasonable, I just
marked the test as "UNSUPPORTED: remote_run", a new "feature".
2018-08-27 14:50:40 -07:00
Erik Eckstein
c6eb5fe82a minor follow-ups for remove pinning in utilities and docs 2018-08-25 11:14:18 -07:00
swift-ci
4d88cd77cf Merge pull request #18921 from ahoppen/remove-swiftsyntax-validate 2018-08-24 14:16:44 -07:00
Alex Hoppen
c50729badf [swiftSyntax] Remove validate methods
The methods were never executed because DEBUG was never defined in
normal builds and the only way to create nodes is through generated
factory methods which provide the same safety `validate` was supposed to
ensure at the interface level.
2018-08-23 09:12:14 -07:00