Alex Hoppen
723e2beda8
[incrParse] Add option to the test utility to print visual reuse info
2018-05-22 08:52:37 -07:00
Alex Hoppen
ec4a527c44
[incrParse] Reparse nodes if the next node's trailing trivia has changed
2018-05-22 08:52:36 -07:00
Alex Hoppen
bc5e4d709a
[incrParse] Compute byte offsets of pre-edit file based on that file
2018-05-22 08:52:35 -07:00
Alex Hoppen
a1ff223497
[incrParse] Add utility to test incremental parsing
2018-05-22 08:52:35 -07:00
Alex Hoppen
b904194998
[libSyntax] Add support for parsing #sourceLocation directives
2018-05-22 08:52:31 -07:00
swift-ci
3a51bd66d2
Merge pull request #16754 from compnerd/bcrypt
2018-05-21 11:06:32 -07:00
Saleem Abdulrasool
885a4f931e
build: add Bcrypt.h to Windows SDK overlay
...
This is used in the stdlib shims, but has a case mismatch. Add an entry
for the spelling as provided on MSDN and the case that is used in the
WinSDK distribution.
2018-05-21 10:16:04 -07:00
Mishal Shah
7ff12fb882
[update-checkout] Use swift-4.2-branch for llbuild, swiftpm, cmark, clang and llvm.
2018-05-18 16:20:58 -07:00
Harlan
a66931e7fb
[SwiftSyntax] Allow for visiting SyntaxCollections ( #16687 )
...
* Allow for visiting SyntaxCollections
* The 'base type' for a SyntaxCollection is 'Syntax'
* Actually add test file
2018-05-18 10:22:26 -07:00
Michael Gottesman
aa035e9563
Rename disable-llvm-arc-opts => disable-swift-specific-llvm-optzns and make sure that we actually disable /all/ LLVM passes.
...
For instance, we were always running merge functions unconditionally if -O was
passed.
rdar://40097698
2018-05-15 16:18:16 -07:00
Daniel Ramteke
09e8b8a791
Adding Ubuntu 18.04
...
The new swift community hosted CI repo requires presents to be present here. https://github.com/apple/swift-community-hosted-continuous-integration
2018-05-07 19:56:37 -04:00
David Hart
196d79cc34
Merge pull request #15375 from hartbit/llbuild-swift-bindings
...
Enable building llbuild swift bindings
2018-05-06 18:11:06 +02:00
Bob Wilson
4acbc4fb81
Merge pull request #16369 from bob-wilson/rdar39960908
...
[build-script] Update the default CLANG_USER_VISIBLE_VERSION to 6.0.0
2018-05-04 21:34:51 -07:00
swift-ci
8beed90e0d
Merge pull request #15833 from lanza/android
2018-05-04 17:54:02 -07:00
Bob Wilson
123cde5908
Merge pull request #16368 from bob-wilson/rdar38181372
...
Reenable Runtime/linux-fatal-backtrace.swift test
2018-05-04 15:15:12 -07:00
Alex Hoppen
747e23057d
Merge pull request #16255 from ahoppen/verify-syntax-tree-on-stdlib
...
[libSyntax] Verify the syntax tree generated by compiling the stdlib
2018-05-04 11:30:21 -07:00
Erik Eckstein
55fac3e361
Remove an unintentinally added binary file
...
rdar://problem/37293054
2018-05-03 21:17:11 -07:00
Bob Wilson
0f4290101e
[build-script] Update the default CLANG_USER_VISIBLE_VERSION to 6.0.0
...
The swift-4.2-branch of Clang/LLVM is derived from LLVM 6.0. Set the
default Clang version to match.
rdar://problem/39960908
2018-05-03 17:08:09 -07:00
Bob Wilson
824bc82660
Reenable Runtime/linux-fatal-backtrace.swift test
...
This test broke when we switched to the swift-4.2-branch of Clang/LLVM.
It seems to be a problem with LLDB's CreateTargetWithFileAndArch() API
(rdar://problem/39960149). In the meantime, since this script does not
really need to specify the architecture, we can work around the problem
by using CreateTarget(). That's simpler anyway.
rdar://problem/38181372
2018-05-03 16:59:45 -07:00
David Hart
859c68b676
Enable building llbuild swift bindings
2018-05-03 20:51:52 +02:00
Michael Gottesman
ad3e05d82e
[build-script] Add support for building the compiler with sanitizer coverage so we can make libFuzzer based fuzzers for swift compiler tools.
2018-05-02 17:39:18 -07:00
Nathan Lanza
7429856034
Change various search and linker paths to account for changes in NDK16
...
ndk14 introduced "unified headers" which merged the headers for all
different API versions into one directory which effectively split the
"SWIFT_SDK_ANDROID_ARCH_${ARCH}_PATH" into two different directories.
Add include and library specific paths to various compilation and link
invocations across the Swift project to account for this change. Remove
some broken sysroot/sdk specific settings.
2018-05-02 14:18:11 -07:00
mishal_shah
9c22fb56e5
[Preset] Add support for LTO + No assertions toolchain
2018-05-01 11:08:12 -07:00
Alex Hoppen
a5d4a98ca5
[libSyntax] Add parsing capability for the __consuming modifier
2018-05-01 09:57:28 -07:00
Huon Wilson
815365efd6
Merge pull request #16248 from huonw/match-timestamp-scheme
...
[update-checkout] Require --scheme for --match-timestamp.
2018-05-01 12:57:42 +10:00
Mike Ash
8459167b3e
Merge pull request #16253 from mikeash/disable-mangled-name-verification
...
[Runtime] Disable mangled name verification unless specifically enabled with an environment variable.
2018-04-30 13:18:52 -07:00
mishal_shah
9fc6505291
[Update Checkout] Add support for swift-4.2-branch-04-30-2018
2018-04-30 12:19:03 -07:00
Alex Hoppen
19ff67a42d
Merge pull request #16216 from ahoppen/libsyntax-verify-on-silgen-tests
...
[tests] Verify the libSyntax tree on SILGen tests
2018-04-30 09:24:42 -07:00
Mike Ash
09e1e355a4
[Runtime] Disable mangled name verification unless specifically enabled with an environment variable.
...
rdar://problem/39821779 rdar://problem/39821761 rdar://problem/39821758
2018-04-30 10:56:09 -04:00
Huon Wilson
16a4605781
[update-checkout] Require --scheme for --match-timestamp.
...
Without a --scheme, --match-timestamp would only look back in time from the HEAD
of each sibling repository which means those repositories will never go forward
in time when the swift repo does. This is probably not what one wants when, for
instance, bisecting and generally trying to do historical builds. Finding the
--scheme behaviour in the first place is slightly non-obvious, passing that flag
is easy to forget, and the non---scheme behaviour is probably not particularly
useful, so let's just force --scheme to be passed.
Fixes https://bugs.swift.org/browse/SR-7468 and rdar://problem/39520842
2018-04-30 18:54:10 +10:00
Alex Hoppen
4c1b27db83
[libSyntax] Fix parsing of delayed function bodies
2018-04-27 21:05:36 -07:00
Mike Ash
5fc07b8709
Merge pull request #16188 from mikeash/assert-metadata-mangled-name-roundtrip
...
[Runtime] Assert that metadata mangled names successfully roundtrip.
2018-04-27 20:09:24 -07:00
Mike Ash
82c4929395
[Runtime] Disable mangled name verification when running PlaygroundLogger tests.
...
rdar://problem/37551850
2018-04-27 17:15:50 -04:00
Alex Hoppen
7bbb5fa87a
[libSyntax] Fix parsing of key paths on specialised generics
2018-04-27 08:10:20 -07:00
Alex Hoppen
3fd922a9d5
[libSyntax] Accept non-standard accessor kinds
2018-04-27 08:10:20 -07:00
Mike Ash
91619c4cd0
[Runtime] Make mangled name roundtrip verification a soft failure. Disable it entirely when running tests and when bootstrapping swiftpm, for now.
...
rdar://problem/37551850
2018-04-27 10:09:06 -04:00
Alex Hoppen
387ef8f002
Merge pull request #16155 from ahoppen/if-semi-keypath
...
[libSyntax] Parsing fixes for #if, trailing semicolon, key paths
2018-04-25 14:50:24 -07:00
Alex Hoppen
94b8a3545b
[libSyntax] Fix parsing for KeyPath
2018-04-25 13:30:31 -07:00
Alex Hoppen
a5314afe5f
Merge pull request #16117 from ahoppen/attributes
...
[libSyntax] Make parsing of attributes more structured
2018-04-25 09:21:43 -07:00
Mishal Shah
cd8ccbd96a
[Update checkout] Add support for swift-4.2-branch-04-20-2018 branch
2018-04-24 22:48:27 -07:00
Alex Hoppen
28973f23b6
[libSyntax] Fix parsing of member declarations with trailing semicolon
2018-04-24 14:19:24 -07:00
Alex Hoppen
c6a11097e8
[libSyntax] Fix parsing of #if inside type declarations
2018-04-24 14:16:11 -07:00
Alex Hoppen
3e9ae802c2
[libSyntax] Make parsing of attribute arguments more structured
...
This also fixes several issues where attribute arguments could not be
parsed as a TokenList since some of its arguments already had structure
and were not tokens
2018-04-24 13:18:15 -07:00
Alex Hoppen
e75114a4d6
Merge pull request #16038 from ahoppen/parsing-fixes
...
libSyntax parsing fixes for class-restricted protocols and operators for higher-order functions
2018-04-23 16:39:47 -07:00
Alex Hoppen
c52f4a8131
[libSyntax] Fix parsing of operators passed to higher order functions
2018-04-23 12:23:27 -07:00
Alex Hoppen
75406c895c
[libSyntax] Enable parsing of class restrictions for protocols
2018-04-23 12:23:27 -07:00
Michael Gottesman
6e20a6da44
[integration-tests] Specify path to the llvm bin dir instead of filecheck itself.
...
We can infer FileCheck's path from the llvm bin dir so there is no change today.
In the future though this will enable us to use other llvm tools to "poke" at
the produced snapshots for verification purposes.
rdar://39456714
2018-04-22 15:26:20 -07:00
mishal_shah
4287b863aa
Update the branch info for integration test and playground support
2018-04-20 17:30:51 -07:00
Ben Langmuir
df1ad0c7d4
Merge pull request #16040 from benlangmuir/note-single-string
...
[sourcekitd] Change compile notifications to pass a single args string
2018-04-19 21:59:42 -07:00
Michael Ilseman
46b88ed906
Merge pull request #15928 from milseman/boilerplate_generated
...
[test] De-gyb stdlib unittest.
2018-04-19 16:25:00 -07:00