Davide Italiano
35968ed6bc
[Platform] Catch up with LLVM upstream. COWS is now WASI.
2019-01-16 10:25:30 -08:00
Adrian Prantl
5a9a59ec6a
Add missing enum case
2019-01-15 11:01:33 -08:00
swift-ci
0ffdff20a3
Merge remote-tracking branch 'origin/master' into master-next
2018-12-21 13:29:23 -08:00
Saleem Abdulrasool
326d42378e
Basic: convert UUIDs to uppercase
...
Darwin does not follow the ITEF specification (RFC 4122) and emits the UUID in
uppercase and expects the emission to be uppercase. Convert to upper case when
translating the UUID from the binary representation to the string
representation. This repairs the SIL parsing tests on Windows.
2018-12-21 10:43:20 -08:00
swift-ci
848f9bef21
Merge remote-tracking branch 'origin/master' into master-next
2018-12-05 10:54:58 -08:00
Adrian Prantl
ff63eaea6f
Remove \brief commands from doxygen comments.
...
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.
Patch produced by
for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done
2018-12-04 15:45:04 -08:00
Bob Wilson
fa5ee3d717
master-next: Add switch case for new Hurd triple in llvm r347832
2018-11-29 12:56:14 -08:00
swift-ci
d84c7d475c
Merge remote-tracking branch 'origin/master' into master-next
2018-11-16 04:49:12 -08:00
Ted Kremenek
6c8bed847f
Merge pull request #20374 from tkremenek/swift5-verison
...
Bump compiler version to Swift 5.
2018-11-16 04:30:08 -08:00
swift-ci
5b5697f486
Merge remote-tracking branch 'origin/master' into master-next
2018-11-15 13:28:08 -08:00
Michael Ilseman
c5ce63a5cc
Merge pull request #20599 from milseman/emoji_tag
...
[Character] Permit tagged emoji Character literals
2018-11-15 13:21:35 -08:00
swift-ci
c8bc84634a
Merge remote-tracking branch 'origin/master' into master-next
2018-11-15 12:34:24 -08:00
Saleem Abdulrasool
9cc9a94d56
Merge pull request #20469 from tinysun212/pr-os-macro-cygwin-2
...
[LangOptions] os(Cygwin) is not true on Cygwin
2018-11-15 12:13:34 -08:00
Michael Ilseman
bca1b74427
[Character] Permit tagged emoji Character literals
...
Loosen up the compiler's grapheme analysis to allow the emoji tagged
sequences as graphemes.
2018-11-15 09:06:20 -08:00
swift-ci
3758290ba3
Merge remote-tracking branch 'origin/master' into master-next
2018-11-14 17:59:33 -08:00
Joe Groff
2f4a90178c
Merge pull request #20582 from jckarter/multi-payload-xi-empty
...
Fix ClusteredBitVector::fromAPInt for zero-sized vectors.
2018-11-14 17:41:13 -08:00
Ted Kremenek
cf2dce9166
Merge branch 'master' of https://github.com/apple/swift into swift5-verison
...
# Conflicts:
# test/api-digester/Outputs/stability-stdlib-source.swift.expected
2018-11-14 17:31:55 -08:00
Joe Groff
4428d479aa
Fix ClusteredBitVector::fromAPInt for zero-sized vectors.
...
A one-bit zero APInt is a reasonable stand-in for everywhere we need this.
2018-11-14 14:05:21 -08:00
swift-ci
c03d8e70be
Merge remote-tracking branch 'origin/master' into master-next
2018-11-14 13:30:14 -08:00
Vinicius Vendramini
f6c7815799
Add a few fixes mentioned in the code review.
2018-11-14 13:38:01 -02:00
Vinicius Vendramini
e123750c12
Add option to dump AST to files
...
This adds two things:
- Calling `swiftc -dump-ast foo.swift [...] -o foo.ast` will dump the AST to the file `foo.ast`, instead of dumping it to `stderr` as usual.
- Calling `swiftc -dump-ast -output-file-map=outputFileMap.json *.swift [...]`, given an `outputFileMap.json` file that contains entries in the form `"ast-dump": "foo.ast"`, will dump the ASTs of the input files to their respective output files in the file map.
This should serve as a valid workaround to a bug mentioned in [the forums](https://forums.swift.org/t/error-when-dumping-the-ast-for-hundreds-of-files/17578 ) where the AST dump functionality crashes when called with too many input files. A few implementation details were also discussed in the same forum post.
As an aside, this also fixes a comment in `include/swift/Basic/PrimarySpecificPaths.h` that was incorrect.
2018-11-14 13:38:01 -02:00
Han Sang-jin
859f144b75
[LangOptions] os(Cygwin) is not true on Cygwin
...
`Target.isOSWindows()` and `Target.isWindowsCygwinEnvironment()` are both true in Cygwin.
We should check the `os(Cygwin)` before `os(Windows)`.
2018-11-10 11:23:00 +09:00
Ted Kremenek
748dae7d10
Merge remote-tracking branch 'upstream/master' into swift5-version
...
# Conflicts:
# validation-test/stdlib/HashedCollectionFilter3.swift
# validation-test/stdlib/HashingPrototype.swift
2018-11-09 09:39:22 -08:00
swift-ci
7e70c3c2bd
Merge remote-tracking branch 'origin/master' into master-next
2018-11-06 16:29:56 -08:00
Ted Kremenek
46510a5eba
Bump compiler version to Swift 5.
...
Main pieces:
- Bump swift-version to 5
- Remove -swift-version 3 support
2018-11-06 14:38:55 -08:00
Michael Gottesman
a761d7c0ba
Revert "Revert "Revert "[Build System: CMake] make add_swift_library a wrapper to add_llvm_library"""
...
This reverts commit 121f5b64be .
Sorry to revert this again. This commit makes some pretty big changes. After
messing with the merge-conflict created by this internally, I did not feel
comfortable landing this now. I talked with Saleem and he agreed with me that
this was the right thing to do.
2018-11-06 13:24:00 -08:00
Bob Wilson
5a8a38c692
Merge remote-tracking branch 'origin/master' into master-next
2018-11-06 11:12:09 -08:00
Graydon Hoare
e272ece309
Merge pull request #20170 from graydon/text-interface-to-module
...
Switch from .sid files to using FILE_DEPENDENCY records in INPUT_BLOCK
2018-11-06 07:52:09 -08:00
swift-ci
b201d947f9
Merge remote-tracking branch 'origin/master' into master-next
2018-11-05 20:09:53 -08:00
Saleem Abdulrasool
121f5b64be
Revert "Revert "[Build System: CMake] make add_swift_library a wrapper to add_llvm_library""
...
This reverts commit 103f9a8246 .
2018-11-05 14:37:40 -08:00
swift-ci
b3863e592e
Merge remote-tracking branch 'origin/master' into master-next
2018-11-02 13:10:10 -07:00
Xi Ge
103f9a8246
Revert "[Build System: CMake] make add_swift_library a wrapper to add_llvm_library"
2018-11-02 12:49:07 -07:00
swift-ci
0b62e5ba16
Merge remote-tracking branch 'origin/master' into master-next
2018-11-02 10:09:49 -07:00
Graydon Hoare
4938b002b4
[ModuleInterface] Remove SwiftParseableInterfaceDeps files, use INPUT_BLOCK.
2018-11-01 10:51:16 -07:00
Saleem Abdulrasool
c3555cf0c4
add_swift_host_library: special handling for GYB sources
2018-10-31 12:46:31 -07:00
Saleem Abdulrasool
c5c64ca3ea
add_swift_host_library: rename LLVM_COMPONENT_DEPENDS to LINK_COMPONENTS
2018-10-31 12:46:31 -07:00
Saleem Abdulrasool
39dde93c88
add_swift_host_library: rename LINK_LIBRARIES to LINK_LIBS
2018-10-31 12:46:31 -07:00
Saleem Abdulrasool
e0b839330d
add_swift_host_library: remove C_COMPILE_FLAGS
2018-10-31 12:46:31 -07:00
swift-ci
a6f698d89e
Merge remote-tracking branch 'origin/master' into master-next
2018-10-27 15:29:52 -07:00
Michael Gottesman
3f17bb6ddf
Carefully split the build's invocation of add_swift_library into host/target variants.
...
The key thing here is that all of the underlying code is exactly the same. I
purposely did not debride anything. This is to ensure that I am not touching too
much and increasing the probability of weird errors from occurring. Thus the
exact same code should be executed... just the routing changed.
2018-10-27 12:58:51 -07:00
Bob Wilson
fcc9847432
Merge remote-tracking branch 'origin/master' into master-next
2018-10-21 09:05:34 -07:00
Graydon Hoare
dc006e883a
[ModuleInterface] Add new SwiftParseableInterfaceDeps file type (.sid).
2018-10-18 00:31:24 -07:00
swift-ci
0f1060b1bd
Merge remote-tracking branch 'origin/master' into master-next
2018-10-12 16:15:13 -07:00
Nathan Hawes
b1c8013701
Merge pull request #19782 from nathawes/incremental-parsing-bug
...
[incrParse] Fix bug mapping a node's location back to its location in the cached syntax tree
2018-10-12 15:43:11 -07:00
Saleem Abdulrasool
ccacfe7a73
swift: update for LLVM SVN r344140
...
Update swift's usage of clang::vfs which has been hoisted into LLVM.
2018-10-12 11:16:58 -07:00
swift-ci
1ff59f7d73
Merge remote-tracking branch 'origin/master' into master-next
2018-10-12 02:49:36 -07:00
Graydon Hoare
4f315363f8
[ModuleInterface] Change TY_SwiftModuleInterfaceFile to TY_SwiftParseableInterfaceFile
2018-10-11 23:56:19 -07:00
Nathan Hawes
5c568af436
[incrParse] Fix bug mapping a node's location back to its location in the cached syntax tree
...
Also fix Edit::intersectsOrTouchesRange check only returning true when the
ranges overlapped, rather than when they overlapped or 'touched'.
Resolves rdar://problem/45108439
2018-10-08 15:44:38 -07:00
swift-ci
e9ec2ed51f
Merge remote-tracking branch 'origin/master' into master-next
2018-09-26 15:09:36 -07:00
Jordan Rose
ceaa5db623
Merge pull request #17960 from danielmartin/new-unary-operator-ifconfig
...
[Parser] Support "<" unary operator in #if swift() and #if compiler() expressions
2018-09-26 15:00:48 -07:00