swift
Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-09-24-a' into tensorflow
#27452
Merged

Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-09-24-a' into tensorflow #27452

dan-zheng merged 284 commits into tensorflow from tensorflow-merge
dan-zheng
nkcsgexi ABI/API checker: move node mapping information from under -v to under…
8912ef9f
compnerd Revert "runtime: add a workaround for Windows build"
c4f44857
Catfish-Man Merge pull request #27203 from CodaFi/movin-on-up
387d2a9a
xedin [Diagnostics] Don't store contextual type in missing argument fix/dia…
2f325fa1
theblixguy [Test] Adds some tests
7ff3fd1f
theblixguy [AST] Fix indenation in hasValueSemantics()
0d66b0c5
CodaFi Merge pull request #27080 from CodaFi/can-i-have-your-autograph
b2347568
nkcsgexi Merge pull request #27200 from nkcsgexi/debug-flag
73871aa3
jckarter Merge pull request #27202 from jckarter/opaque-type-fallback-fix
4eb31633
gottesmm [gardening] Clean up BranchPropagatedUser.
5a86d42c
ravikandhadai [Constant Evaluator] Add a new sil-opt pass to check constant evaluab…
032442da
gottesmm [ownership] Create a context structure for the linear lifetime checker.
dceca2bc
swift-ci Merge pull request #27197 from gottesmm/pr-32d08675e348d877f893509277…
3ab346ba
xedin [Diagnostics] Cover single explicit tuple argument -> N parameters vi…
c968c14a
theblixguy Merge pull request #27198 from theblixguy/fix/SR-11478
0bd7621a
hamishknight [CS] Allow simplification of key path subscript arg locators (#27194)
58459e74
CodaFi Define UnderlyingTypeRequest
2ab5ea89
CodaFi Resugar the structural type
278ead39
CodaFi Improve the TypeAlias{Type|Decl} dump
dceb3572
CodaFi Separate computing interface types and underlying types
5e34169a
compnerd Merge pull request #27204 from compnerd/workaround
d0c19ed2
gottesmm Merge pull request #27211 from gottesmm/pr-9566688fe160ddaa5cdb741e11…
4230cf79
CodaFi Remove validateDeclForNameLookup
d5c014b8
CodaFi Setting the underlying type should set the structural type too
c254f4d2
jrose-apple [Frontend] Add a comment about 9e6d4db (#27169)
94265e81
hborla [Diagnostics] Add notes for the type_cannot_conform error that point
2a7e0099
xedin [Diagnostics] Fix `missing argument` diagnostic to support closures w…
4d02463e
xedin [Diagnostics] NFC: Remove "trailing" from method name for closures wi…
0aeaf7f1
theblixguy [AST] Remove isTypeContext() check from hasValueSemantics() and move …
d9c8ae4c
compnerd utils: bump to CMake 3.15.1
039f67be
hborla [Diagnostics] Adjust the description of existential types for the
7687293b
hborla Merge remote-tracking branch 'upstream/master' into type-cannot-confo…
bf80250c
hborla [Test] Update Parse/confusables.swift with the "type cannot conform"
ea2acc6f
theblixguy [Typechecker] Remove a few unnecessary isTypeContext() checks as its …
3d058c6b
Ensure that Decls aren't added needlessly before creating tree eagerly.
6ec62d97
gottesmm [ownership] Add a new checkValue overload to LinearLifetimeChecker th…
7e3608e0
xedin Merge pull request #27215 from xedin/remove-fn-dep-from-missing-args
5c01a118
hborla [Diagnostics] In `MissingConformanceFailure`, if the non-conforming type
85e6f73b
When ASTScope assertions fails, direct user to try disabling ASTScopes.
3966d086
swift-ci Merge pull request #27219 from gottesmm/pr-76c8dc8ebfc577d7be7ce15c15…
9a240132
Add ASTScope_unreachable
8ebba23b
Add explanations to all asserts.
e3f77601
rintaro Revert "Merge pull request #27203 from CodaFi/movin-on-up"
9f642f0b
theblixguy Merge pull request #27057 from theblixguy/unrevert/SR-11298
c99facb4
jrose-apple [AST] Split FileUnit and its subclasses out of Module.h
853caa66
jrose-apple [AST] Separate SourceFile from FileUnit.h
8d7f1b7c
theblixguy [Typechecker] Use an equal constraint between a property wrapper's va…
5d1a1ff5
theblixguy [Test] Adds a test case
b3d3ef38
CodaFi Break some cycles
6b7fbc9a
ravikandhadai Merge pull request #27205 from ravikandhadai/constexpr-debug-stdlib
fa5b0f30
ravikandhadai Merge pull request #27208 from ravikandhadai/constexpr-fragment-check
bcafb784
[code-completion] Remove special handling for completion on the RHS o…
54defbc7
rintaro [SyntaxParses] Address memory issue in popTokenSyntax()
4527711c
davezarzycki [SILOpt] NFC: fix -Wgnu-anonymous-struct warning
e40759b3
swift-ci Merge pull request #27231 from davezarzycki/pr27231
e67a90b3
theblixguy Merge pull request #27226 from theblixguy/fix/SR-11381
7814fdb8
jrose-apple [test] Run scale-tests on Linux too (#27223)
1eaa7674
compnerd Merge pull request #27214 from compnerd/bug-fixes
99859b1b
jrose-apple Merge pull request #27225 from jrose-apple/absolute-unit
f73c4c43
varungandhi-apple [NFC] Replacing potentially confusing phrase "memory allocation promo…
2255e81a
hborla Merge pull request #27176 from hborla/type-cannot-conform-diag
29044e5d
ravikandhadai [OSLog][Test] Update the new oslog overlay implementation to use
61fd4b14
Merge pull request #27218 from nathawes/r53958454-getFixedTypeRecursi…
4dac0d1e
CodaFi Change a cycle condition
4f6951c4
slavapestov Sema: Compute and store captures for default argument expressions
67c66820
slavapestov SIL: Refactor type lowering computation of the effective generic sign…
e1e6f0e7
slavapestov Sema: Diagnose captures of dynamic 'Self' type from default argument …
d3a4f3de
slavapestov SILGen: Fix crash when immediately-applied closure transitively captu…
b8642b09
slavapestov SIL: Compute lowered local captures of SILDeclRefs and not AnyFunctio…
533d41d0
slavapestov SILGen: Support for local function default argument captures
78ae7ac9
jckarter ReflectionContext: Remove platform #ifs for image format checks.
761b0294
swift-ci Merge pull request #27234 from apple/vg-sil-docs
1d23ebf6
jckarter Merge pull request #27237 from jckarter/reflection-context-check-magic
334d8928
slavapestov Merge pull request #27220 from slavapestov/default-arg-self-capture-d…
4fcef2b9
CodaFi Merge pull request #27172 from CodaFi/aliasing-artifacts-and-noise-re…
38bde330
beccadax [NFC] Add and use ASTContext::getNSCopyingDecl()
eb27a59e
beccadax [NFC] Note limitation of KnownProtocols
1802a5cf
swift-ci Merge pull request #27228 from ravikandhadai/constexpr-oslog-constant…
00ac8d8f
CodaFi [NFC] Address review feedback from #27172
bddb2c72
ravikandhadai [Constant Evaluator] Pass assert configuartion option to the
22861ec0
swift-ci Merge pull request #27241 from CodaFi/well-i-should-have---run-clang-…
d77ed7a9
compnerd utils: pass `CMAKE_Swift_COMPILER`
42f350b6
atrick Add SIL SinkAddressProjections utility to avoid address phis.
f22371bf
beccadax [NFC] [PrintAsObjC] Don’t cache NSCopyingType
21426ea7
swift-ci Merge pull request #27244 from ravikandhadai/constexpr-oslog-constant…
d0b7ecab
rintaro Merge pull request #27230 from rintaro/syntaxparsse-rdar55421369
b09f8759
gottesmm [sil] Teach the SILVerifier how to validate that a builtin insts are …
e2a9a432
beccadax [NFC] Convert ClangImporter use to getNSCopyingDecl()
0ce2434d
atrick Merge pull request #27246 from atrick/fix-address-phi
88cb02c0
swift-ci Merge pull request #27251 from gottesmm/pr-92691592fd64691bf3f49ee560…
059b0c84
gottesmm [builtin] Implement polymorphic builtins for all BUILTIN_BINARY_OPERA…
20c5dff4
slavapestov AST: Fix regression from SubstFlags::UseErrorTypes removal
8fab074b
DougGregor [SILGen] Properly substitute contextual archetypes when generating as…
a7fce599
gottesmm Merge pull request #27254 from gottesmm/pr-068c882956f6e9746cd2ea87e6…
755dc1c6
nate-chandler [cmpcodesize] Allowed args to specify dirs.
5e3b9b58
slavapestov Merge pull request #27242 from slavapestov/subst-error-type-fix
82503391
nate-chandler Merge pull request #27259 from nate-chandler/cmpcodesize-can-take-bui…
9c6cf454
DougGregor Merge pull request #27257 from DougGregor/silgen-sr-11303
4eca7aa9
jrose-apple [docs] CToSwift: swift_name for all top-level declarations (#27227)
4ade7ae1
gottesmm Revert "[sil] Teach the SILVerifier how to validate that a builtin in…
74ced92a
DougGregor Merge pull request #27262 from gottesmm/pr-f239c55c62358cc7f0c56e7588…
7ce477bd
gottesmm [polymorphic-builtins] Teach constant folding how to fold a polymorph…
9864cb9c
gottesmm Merge pull request #27260 from gottesmm/pr-2b8fc4fe4ee6d645eeb2b8b243…
80ef4c66
jrose-apple [ClangImporter] Update old comments and remove obsolete FIXMEs
daff289b
jrose-apple [ClangImporter] Simplify typedef bridgeability checking
311607ec
jrose-apple [ClangImporter] Simplify a SmallVector fill to allocate up front
a8496d43
jrose-apple [ClangImporter] Simplify helper method signature
4a92e4f5
jrose-apple [ClangImporter] Simplify block pointer importing ever so slightly
d7410756
rintaro [SyntaxParse] Parse generic parameter clause and generic where clause
f919b2dd
compnerd Merge pull request #27245 from compnerd/peek-a-boo-i-see-you
e89e0105
compnerd Update README.md
b40509b6
rintaro Merge pull request #27249 from rintaro/syntaxparse-genericparam
4804444c
compnerd build: try harder to pass along CMAKE_Swift_COMPILER
ba3a3a75
gottesmm [polymorphic-builtin] Fix ASAN error.
22f580e5
slavapestov Add a couple of crashing test cases
5189daaf
xedin [Diagnostics] Tailored diagnostic for "condition" expression
72b61f55
jckarter Reflection: Make RemoteRef template not depend on Runtime.
f1cb0d11
xedin [TypeChecker] Don't use contextual type for implicit `~=` type-check
f8afae94
xedin [Diagnostics] Don't try to diagnose immutability failures in boolean …
232185ec
rintaro Revert "[SyntaxParse] Parse generic parameter clause and generic wher…
1584e87a
slavapestov AST: Remove LazyResolver::resolveProtocolEnvironment()
d395eb18
slavapestov AST: Simplify SubstitutionMap::getProtocolSubstitutions()
b3f43680
slavapestov AST: Clean up ASTVerifier's archetype verification a bit
9a454d4f
slavapestov AST: ProtocolConformanceRef::subst() returns an invalid conformance i…
542d255b
slavapestov Sema: Add a FIXME comment for a problem I found by inspection
4aea8753
slavapestov IDE: Pick off another usage of isConvertibleTo() with openArchetypes=…
8f346a0c
jckarter Reflection: Move resolveRelativeField functionality onto RemoteRef
88a833f1
rintaro Merge pull request #27278 from apple/revert-27249-syntaxparse-generic…
6f35362e
rintaro Revert "Revert "[SyntaxParse] Parse generic parameter clause and gene…
0569cbfb
rintaro [Syntax] Fix Python lint failure
1861536e
xedin Merge pull request #27107 from xedin/if-conditional-diag
81c7be86
gottesmm Merge pull request #27272 from gottesmm/pr-30367b8cc5c6857ca99028d097…
9ec00d5e
beccadax Merge pull request #27210 from brentdax/it-is-known
96e023d7
jrose-apple [ClangImporter] Remove workaround for old NS_ERROR_ENUM import logic …
b32ef852
jrose-apple Merge pull request #27268 from jrose-apple/the-hit-new-game-sim-plify
91a5abad
jrose-apple [AST] Shrink CaptureInfo down to a PointerIntPair (#27261)
27e881d9
jrose-apple [ClangImporter] Remove now-unnecessary special case for IUO importing
2b25fe0e
xedin [ConstraintSystem] Introduce a fix for assignment type mismatch
8eaeb51f
gottesmm [polymorphic-builtins] Teach dataflow diagnostics how to emit an erro…
e90a68fa
owenv Improve diagnostic when attempting to pass an Array to a variadic arg…
6c5185f2
compnerd stdlib: silence a unused function warning (NFC)
64ed0a40
rintaro Merge pull request #27281 from rintaro/reapply-syntaxparse-genericparam
5d3e8d6c
slavapestov Merge pull request #27280 from slavapestov/type-alias-sugar-prep
b11e8ac9
jrose-apple [ClangImporter] Remove now-unnecessary special case for IUO importing…
3a931471
xedin Merge pull request #27283 from xedin/assign-conversion-failures
9d73ead0
CodaFi Merge pull request #26480 from CodaFi/makes-a-nominal-decl-healthy-we…
f0e73c84
[parser] Fix tuple type round-tripping issue
e89efa8f
swift-ci Merge pull request #27285 from compnerd/tls-conditions
92d58279
CodaFi Make decl shadowing ask the right question
2df956a4
CodaFi Remove a dead cycle check
321d9b76
CodaFi Directly detect the cyclic case while computing conditional requirement
e7fccde4
CodaFi Merge pull request #27279 from CodaFi/eggs-tension-service
99134708
davezarzycki [Testing] Workaroud glibc non-null attributes
f968f428
CodaFi Remove resolveExtension and validateExtension
ae60618f
CodaFi Drop CheckingWithValidSignature from the validation state machine
b1359281
rintaro [Parse] Simplify parseIdentifierDeclName()
a42bdf4c
rintaro [ASTGen] Adjust geneate() function signatures
fde58a9e
davezarzycki Merge pull request #27288 from davezarzycki/pr27288
43debb46
gottesmm Merge pull request #27284 from gottesmm/pr-492ee9b09850d10ed8d4b8bc54…
b44158c7
dan-zheng Add `-no-toolchain-stdlib-rpath` flag. (#27207)
3bbc5043
compnerd Merge pull request #27271 from compnerd/swift-compiler
340bbe9b
CodaFi Merge pull request #27289 from CodaFi/ah-well-on-to-the-next-one
7f036f4f
CodaFi [NFC] Remove unnecessary validation noise
aad82fd9
CodaFi Merge pull request #27295 from CodaFi/sign-on-the-dotted-line
768ac78c
Fix debug code
7736009f
WIP lazy whole scopes
603cc052
Tag cycles w/ radar
37b16e8b
Push range of extension scope after type, WIP
f33c4407
Remove debug code
80e7a1f8
De-experimentalify
b47bd97a
Silence a warning
87535dfd
change compare-to-astScope-lookup to crosscheck-unqualified-lookup
a9a90695
Fix typo
c271dc4d
Don't try to expand ASTSourceFileScope when eagerly building.
c808eb5a
Ever expansion detection. WIP
683310eb
Radar tagging
c17d9ae7
Hacked not-so-lazy
ae7469b5
Rm temperature
6e790eac
Fix scope test
c7cd4abe
Fully eager for printing, just eager enough for type-checking.
3c891f95
Ensure that after pushing start of ExtensionScope after extended type…
5d87a66e
Add comment
5ca14099
Comment out potential debugging code issue.
96746437
Ensure that reexpansion does not lose scopes.
10583f89
renaming to ASTAncestor
7f834cdb
Use separate bool to record expansion
b943a398
Count AST ancestor scopes instead of children when last expanded
5144341f
Remove too-restrictive assertion
e59196cb
cleanups
ef570f9c
Fix scope map test
4166c397
Merge pull request #27221 from davidungar/A-9-17-astscope-off
c25de6af
Count AST ancestor scopes instead of children when last expanded
7d2203e0
Turn on ASTScopes
4a265a91
Merge pull request #26573 from davidungar/A-7-9-astscope-no-nesting
af59279d
davezarzycki [AST] Fix debug typo
a033d2b8
swift-ci Merge pull request #27297 from davezarzycki/pr27297
d6a5c6fc
rintaro Merge pull request #27290 from rintaro/parse-identifierdeclname-simple
079a1a40
rintaro Merge pull request #27291 from rintaro/syntaxparses-astgen-signature
e315b6ff
rintaro Merge pull request #27286 from nathawes/r55280477-tuple-type-syntax-r…
8555d1b8
shahmishal Merge pull request #27270 from apple/compnerd-tensorflow-status
d6c92dcf
gottesmm Fix no-asserts build.
6f5e5e61
xedin Merge pull request #26207 from owenv/new-vararg-conversion-diag
96598d8e
jckarter Merge pull request #27274 from jckarter/detemplate-remote-ref
ebca730b
gottesmm Merge pull request #27304 from gottesmm/pr-8fb189947015d45811a60087ae…
0fb5ec32
gottesmm [polymorphic-builtin] Rather than asserting in IRGen if we see a buil…
b9046c6d
jckarter Reflection: Remove vestigial Offset fields from ReflectionInfo
bc3795eb
Update swift-stdlib-tool for Swift 5 (#27276)
f086b9b9
rintaro [Parse] DebuggerContextChange.h
33cf9836
swift-ci Merge pull request #27302 from gottesmm/pr-7a861faa03ec80b01ad9a212af…
c3d304c4
gottesmm [ownership] Delete dead code.
a4f44fee
swift-ci Merge pull request #27312 from gottesmm/pr-7a1cedad01d914933d33a3f8d7…
75315b4c
CodaFi Requestify getInterfaceType() in Name Only
8d9629ec
CodaFi Port getInterfaceType() patterns in libAST
ed18f47d
CodaFi Port getInterfaceType() patterns in libSema
f053f9c4
CodaFi Port getInterfaceType() patterns in ancillary libraries
792e1db4
jrose-apple [ClangImporter] Remove dead code around UnsafePointer<Void> (#27310)
e9bf767c
rintaro Merge pull request #27308 from rintaro/parse-debuggercontextchange
3fd8481f
CodaFi Update SourceKit for getInterfaceType() changes
1233cdf5
gottesmm [sil] Add a new helper method ApplySite::getCalleeOperand().
860192b9
gottesmm [sil] Add a new helper method CondBranchInst::isConditionOperand.
39c202d4
gottesmm [ownership] Only allow BranchPropagatedUser to be constructed from Op…
12aa95ac
gottesmm [polymorphic-builtin] Disable experimental builtin test when optimiza…
c3be2550
lorentey Merge pull request #27317 from gottesmm/pr-b5717067fec005e76089cd24f7…
b7f91306
jckarter Fix handling of null relative references in RemoteRef.
31212b8b
CodaFi Merge pull request #27314 from CodaFi/an-interface-to-the-interface
3e48f71b
DougGregor [Type checker] Validate subscript declaration before using it.
997fabbf
DougGregor Remove now-unnecessary validateDecl() call
4c1fc19b
jckarter Merge pull request #27318 from jckarter/remote-ref-null-relative
bc8dfe48
compnerd Update README.md
39b960df
shahmishal Merge pull request #27324 from apple/compnerd-community-ci-status
49179e43
[TBDGen] Set `installapi` flag only when building in installapi (#27315)
29bc6451
jckarter Merge pull request #27306 from jckarter/remove-reflection-offsets
83b34ab8
CodaFi [NFC] Drop some unnecesary interface type forcing
50d9ab66
rintaro [SyntaxParse] Introduce CodeCompletionTypeSyntax
1a9b6d0d
DougGregor Merge pull request #27320 from DougGregor/property-wrappers-subscript…
108a462d
swift-ci Merge pull request #27326 from CodaFi/interface-to-face
4e476ff2
rintaro Merge pull request #27325 from rintaro/syntaxparse-cctype
439b9111
gottesmm Merge pull request #27316 from gottesmm/pr-634f227f60306a17bbad2b205f…
64bad160
dan-zheng Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-09-24-a' into tensorflow-m…
b7d94756
BradLarson Applying patch from TF-815 and updating the hashes for swift-apis and…
69ab762d
dan-zheng Fix test/Syntax/round_trip_parse_gen.swift.
95890de0
dan-zheng Workaround for test/SILOptimizer/constant_evaluable_subset_test.swift.
f192f474
dan-zheng dan-zheng added tensorflow
dan-zheng Disable test/SILOptimizer/OSLogConstantEvaluableTest.swift.
4e2ac103
Merge pull request #27453 from dan-zheng/disable-test-tf-799
cca95865
dan-zheng Add ASTScope support for `@differentiable` attribute. (#27451)
e254b29f
dan-zheng Disable test/AutoDiff/transposing_attr_type_checking.swift. (#27454)
4d2f79b4
burmako
burmako approved these changes on 2019-10-01
dan-zheng Merge branch 'tensorflow' of github.com:apple/swift into tensorflow-m…
6476e50d
[tensorflow merge] fix qualified decl name parse (#27456)
2c913b5f
dan-zheng Update checkout for lldb.
a2243df9
dan-zheng Merge pull request #27455 from dan-zheng/tensorflow-merge
8289b7e0
dan-zheng
dan-zheng dan-zheng merged 725519d8 into tensorflow 6 years ago
dan-zheng dan-zheng deleted the tensorflow-merge branch 6 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone