swift-ci
46b8a35b7a
Merge remote-tracking branch 'origin/master' into master-next
2018-04-06 12:50:53 -07:00
Ben Langmuir
e5d913bb3f
Merge pull request #15782 from benlangmuir/invalid-diag-loc-note
...
[sourcekitd] Capture diagnostics with invalid locations for compile notifications
2018-04-06 12:41:02 -07:00
swift-ci
430744b2f3
Merge remote-tracking branch 'origin/master' into master-next
2018-04-06 12:12:17 -07:00
Slava Pestov
c35d508600
Merge pull request #15731 from slavapestov/decl-checker-cleanup-part-6
...
Nuke DeclChecker::IsFirstPass
2018-04-06 12:03:48 -07:00
Slava Pestov
178e676864
Merge pull request #15787 from slavapestov/se-0193-inlinable-is-usable-from-inline
...
SE-0193: @inlinable implies @usableFromInline
2018-04-06 12:03:29 -07:00
Ben Langmuir
969f0f41f4
[sourcekitd] Capture diagnostics with invalid locations for compile notifications
...
Stop filtering out diagnostics with invalid locations in the editor
diagnostic consumer, and instead capture them separately so that we can
include them in did-compile notifications.
rdar://39225000
2018-04-06 11:36:01 -07:00
swift-ci
f495229285
Merge remote-tracking branch 'origin/master' into master-next
2018-04-06 11:29:54 -07:00
swift-ci
09e1e3c859
Merge pull request #15790 from compnerd/pedentary
2018-04-06 11:29:19 -07:00
swift-ci
9e6b44de5c
Merge remote-tracking branch 'origin/master' into master-next
2018-04-06 09:49:39 -07:00
Mishal Shah
369f19d6bc
[Update checkout] Add support for swift-4.2-branch-03-26-2018
2018-04-06 09:31:00 -07:00
Saleem Abdulrasool
b432249a17
stubs: silence pedantic warning (NFC)
...
C requires that there is at least one declaration in a translation unit.
Because this file is ObjC and not ObjC++, this restriction applies. Add
a declaration to silence the warning in the case that ObjC interop is
disabled.
2018-04-06 09:29:05 -07:00
Slava Pestov
5e4f5a4fd5
Sema: Remove DeclChecker::IsFirstPass
2018-04-06 00:55:43 -07:00
Slava Pestov
435d66f70b
Sema: Add separate pass for checkConformancesInContext()
...
I tried doing this directly from typeCheckDecl(), but it breaks
associated type inference. We can figure this out later when
declaration checking becomes lazier and more incremental.
Note that typo correction does not force witnesses of
synthesized conformances. This means that a typo correction
from a top-level form will no longer pick up synthesized
witnesses, and will find the protocol requirement instead.
To give a test the same behavior as before, I put the
expression in a function body instead of a top-level form.
Note that we already had the same behavior with typo
correction from pattern binding initializers and other
contexts that are type checked before conformances.
2018-04-06 00:55:43 -07:00
Slava Pestov
ec42da0ba7
Sema: Fix quadratic checkFunctionErrorHandling() in WMO mode
2018-04-06 00:54:22 -07:00
swift-ci
37893dacc5
Merge remote-tracking branch 'origin/master' into master-next
2018-04-06 00:51:49 -07:00
Slava Pestov
88b785cadd
Merge pull request #15786 from slavapestov/nfc-test-changes
...
NFC test changes
swift-DEVELOPMENT-SNAPSHOT-2018-04-06-a
2018-04-06 00:47:25 -07:00
Slava Pestov
e39b90787f
CHANGELOG.md: Fix formatting
2018-04-06 00:02:30 -07:00
Slava Pestov
34af7c20a5
CHANGELOG.md: Add SE-0193
2018-04-06 00:02:30 -07:00
Slava Pestov
2e5aef9c8d
stdlib: Remove redundant @usableFromInline attributes
2018-04-06 00:02:30 -07:00
Slava Pestov
b4e145dc34
SE-0193: @inlinable implies @usableFromInline
2018-04-06 00:02:29 -07:00
Slava Pestov
618cbca27d
Sema: Rename some 'versioned' diagnostics
2018-04-06 00:02:29 -07:00
Slava Pestov
fb0233aae5
Sema: Clean up createDesignatedInitOverride()
2018-04-06 00:02:29 -07:00
Slava Pestov
bccdbd9b1d
Add regression test for https://bugs.swift.org/browse/SR-7275
2018-04-05 23:28:28 -07:00
Slava Pestov
65ddc317c1
Fix a RUN: line in a test
2018-04-05 23:28:28 -07:00
swift-ci
2fda5ce1f5
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 22:53:22 -07:00
Doug Gregor
431dd1c6df
Merge pull request #15758 from ikesyo/serialization-using-over-typedef
...
[gardening][Serialization] Replace `typedef` with `using`
2018-04-05 22:43:11 -07:00
Doug Gregor
703f8dbb75
Merge pull request #15759 from ikesyo/sil-using-over-typedef
...
[gardening][SIL] Replace `typedef` with `using`
2018-04-05 22:42:49 -07:00
swift-ci
b9b0db1f42
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 22:36:21 -07:00
Slava Pestov
86fef48e5d
Merge pull request #15784 from slavapestov/concrete-witness-method-fix
...
Preliminary "opaque conformance" support in SIL
2018-04-05 22:21:20 -07:00
swift-ci
3d96bd77d1
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 19:49:57 -07:00
Slava Pestov
a4b91d252d
Merge pull request #15666 from slavapestov/se-0193-default-args
...
SE-0193: Public default argument generators cannot reference declarations that are @usableFromInline
2018-04-05 19:46:20 -07:00
swift-ci
58b2cad4ee
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 19:11:48 -07:00
Joe Groff
161afd6be5
Merge pull request #15781 from jckarter/demangle-symbolic-reference-nested-type
...
Runtime: Properly handle demangling nested generic typerefs with symbolic manglings.
2018-04-05 18:58:47 -07:00
Joe Groff
78899a5f83
Merge pull request #15766 from jckarter/dont-deserialize-into-lowered-sil
...
SIL Deserializer: Don't deserialize during "lowered" stage.
2018-04-05 18:54:37 -07:00
swift-ci
c991563cad
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 18:51:37 -07:00
swift-ci
5e74cdabd7
Merge pull request #15773 from vedantk/cov-decls
2018-04-05 18:42:40 -07:00
swift-ci
2fadff01d9
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 18:31:43 -07:00
Slava Pestov
7147d35c90
IRGen: Remove apparently-dead workaround
2018-04-05 18:28:08 -07:00
Slava Pestov
4017baa5cb
SIL Parser: Simplify witness_method parsing
2018-04-05 18:28:08 -07:00
swift-ci
d2f5f6b6ec
Merge pull request #15783 from dcci/watchp_dis
2018-04-05 18:11:38 -07:00
Vedant Kumar
88a966d580
Move some assertion logic into a helper, NFC
2018-04-05 17:52:41 -07:00
Davide Italiano
36f968d9ad
[build-script] Disable watchpoint testing in lldb.
...
Stopgap solution until we have an option we can pass to the
bots. Hopefully will make the bots green again.
2018-04-05 17:36:39 -07:00
swift-ci
667a95084b
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 17:29:30 -07:00
Slava Pestov
b2e85f7eb5
SILGen: Use a concrete conformance if we have a witness_method call on a concrete type
2018-04-05 17:17:24 -07:00
Slava Pestov
0d1a0a694a
SIL: Tweak SIL verifier condition for witness_method conformance
...
- Existential type cannot appear here at all, don't handle it explicitly
- Archetypes can have concrete conformances via their superclass
2018-04-05 17:17:24 -07:00
Jordan Rose
2cedf1c86a
[ClangImporter] Bulk up some comments per Graydon's feedback. ( #15780 )
...
DavidU would probably say this function needs to be split up more too,
and he wouldn't be wrong, but that's a bigger change. (The original
change is getting cherry-picked.)
2018-04-05 17:09:14 -07:00
swift-ci
ff888b55b5
Merge remote-tracking branch 'origin/master' into master-next
2018-04-05 17:08:21 -07:00
Slava Pestov
96901f1983
SE-0193: Public default argument generators cannot reference declarations that are @usableFromInline
2018-04-05 16:56:34 -07:00
Arnold Schwaighofer
25498ea4a7
Merge pull request #15772 from aschwaighofer/irgen_scalar_checked_cast_fix
...
IRGen: Add nil checks to scalarCheckedCasts
2018-04-05 16:49:34 -07:00
Slava Pestov
4af8ff6872
Sema: TypeChecker::getFragileFunctionKind() returns if @usableFromInline references are allowed
...
For now, always true, soon, default arguments of public functions
will return false here.
2018-04-05 16:47:26 -07:00