swift
Merging swift-DEVELOPMENT-SNAPSHOT-2019-11-11-a into tensorflow.
#28344
Merged

Merging swift-DEVELOPMENT-SNAPSHOT-2019-11-11-a into tensorflow. #28344

dan-zheng merged 502 commits into tensorflow from tensorflow-merge
bgogul
xedin [Diagnostics] NFC: Adjust a couple of test-cases improved after gener…
2dd87c77
gottesmm [semantics] Add support for annotating VarDecls with @_semantics.
fe257d58
theblixguy Merge pull request #28015 from nexon/SR-11679-incorrect-fix-suggestio…
3ecc13b3
hamishknight [CSDiagnostics] Allow non-ephemeral diag to refer to argument… (#28084)
10d62a1e
rjmccall Merge pull request #28093 from rjmccall/monkeyless-sphinx
42a2aeac
ahoppen Merge pull request #28091 from ahoppen/swiftevolve-unified-build
0a0c53e5
ahoppen Merge pull request #28094 from ahoppen/pr-testing-swiftsyntax-linux
86ee000d
CodaFi Merge pull request #28092 from CodaFi/typing-of-the-dead
06378aeb
slavapestov SILGen: Fix assertion when emitting tuple conversion into a refutable…
09a9b726
CodaFi [NFC] Remove the TypeChecker from Typo Correction
e907d3bc
CodaFi Remove some unused pointers
c09d4173
CodaFi [NFC] Drop unnecessary TypeCheckers from Sema
392df034
CodaFi [NFC] Remove unnecessary TypeCheckers from sequence folding
53f2974e
CodaFi [NFC] Remove unnecessary TypeCheckers from pattern checking
ec42bee7
CodaFi [NFC] Remove unnecessary TypeCheckers from expression checking
3249f7ca
CodaFi Make building and manipulating checked DeclRefs a utility
fba3c1d0
CodaFi Remove more type checkers from expression checking
0d41e123
CodaFi Remove TypeCheckers from Pattern resolution
332189e9
CodaFi Make TypeChecker::getDefaultType a utility
e804d6ed
CodaFi Remove TypeChecker from access checking
86de1267
shahmishal Update the Apple Watch simulator for lit tests
1b15ace6
CodaFi Merge pull request #28097 from CodaFi/correctamundo
963c3e07
CodaFi Simplify DefaultWitnessChecker's constructor a bit
3159f949
CodaFi Drop the TypeChecker from Circularity checking
6f7a8445
CodaFi Inline TypeChecker::diagnoseInlinableLocalType
f27916b7
CodaFi Make typeCheckAbstractFunctionBody a utility
45e6d511
CodaFi Drop some TypeChecker refs out of TypeCheckDecl
80ee233e
CodaFi Inline TypeChecker::getExceptionType
e15eb472
CodaFi Make typeCheckAbstractFunctionBodyUntil a utility
c42cf3d1
CodaFi Drop TypeCheckers out of TypeCheckStmt
6c6035ec
CodaFi Drop the TypeChecker out of TypeCheckSwitchStmt
35654f7b
xedin Merge pull request #28057 from xedin/assign-diags
6d02fb78
Merge pull request #28038 from davidungar/rdar-56760957-dont-do-ide-l…
069db6e6
CodaFi Merge pull request #28104 from CodaFi/broken-declspec
d9b03a56
LucianoPAlmeida [Diagnostics] SR-11419 Diagnose protocol stub note in editor mode onl…
1184492d
benlangmuir Merge pull request #28014 from rintaro/ide-completion-secondpass-rdar…
63ef99e2
DougGregor [Function builders] allowOneWay->oneWay and clean up some logic
37c89f1c
DougGregor [Constraint solver] Drop Expr* from finalization.
39af1d0c
DougGregor Add missing newline
7306d1af
benlangmuir Update diagnostic after CS change
67592dbc
DougGregor Move ConstraintSystem::setExprTypes() over to Solution
1cd5152f
slavapestov Merge pull request #28102 from slavapestov/refutable-tuple-conversions
f50f0918
eeckstein Merge pull request #28090 from eeckstein/fix-demangler
217241f5
Eagerly expand function bodies before type-checking them, which scram…
87799339
Only do expansion if source file is suitable.
15846cf7
Add assertion to ensure ASTScope enabled when expanding.
3e4a7f99
Only expand function bodies of ASTScopeLookup enabled
1338ab41
Clarify name to be subjunctive.
785117d9
swift-ci Merge pull request #28111 from DougGregor/minor-cs-cleanups
ef389cbe
xedin Merge pull request #28110 from benlangmuir/diag-foo
29a17d57
CodaFi Add a regression test for broken closure parameter destructuring
14e6581b
atrick EscapeAnalysis cleanup and add utilities [nearly NFC]
f009cf3d
CodaFi Register a Deleter for the Global TypeChecker
77049306
dan-zheng [AutoDiff upstream] Add the _Differentiation module. (#27511)
53e61a95
gottesmm Merge pull request #28100 from gottesmm/pr-b169c1785bc8360aa9d4661c79…
3a4c4d09
CodaFi Drop ConformanceContexts out of the TypeChecker
c75af38a
Merge pull request #28075 from davidungar/rdar-54906120-health-bug
5ee49283
CodaFi Kick REPL response variable generation out of TypeChecker
138aac7b
ravikandhadai [Constant Evaluator] Add support for tracking types with aggregate
48bc63bb
swift-ci Merge pull request #28113 from CodaFi/destroyer-of-worlds
dc668b62
milseman Merge pull request #28016 from milseman/swept_under_the_bridge
1d63710a
hborla [ConstraintSystem] Allow binding metatypes to succeed if one contains
b5602618
CodaFi Merge pull request #28112 from CodaFi/a-noticable-lack-of-closure
17de190b
swift-ci Merge pull request #28114 from ravikandhadai/constexpr-aggregate-types
d2590712
CodaFi Make coerceToRValue a utility
59db7832
CodaFi Move the diagnosing entrypoints for intrinsics
51b17470
CodaFi Make getObjectLiteralConstructorName a utility
c4a0585b
CodaFi Drop references to the type checker in CSApply
36987e04
CodaFi Move getSelfForInitDelegationInConstructor to ASTContext
a840af35
CodaFi Remove references to TypeChecker from CSGen
8fc054ae
CodaFi Make coerceParameterListToType a utility
e5599ef2
CodaFi Remove references to TypeChecker in the constraint system
3cf7b545
CodaFi Make diagnoseSelfAssignment a utility
7b9d28d7
CodaFi Remove some remaining TypeCheckers
fb8b0600
atrick EscapeAnalysis: remove unused cast handling from the main loop.
cb1e787f
atrick EscapeAnalysis: remove unused pointsToEnd utility, for now.
13b7f454
CodaFi Move Utilities back to TypeChecker
e6dbfa39
CodaFi Merge pull request #28085 from CodaFi/pro-forma
8779e23f
hborla Merge pull request #28116 from hborla/same-type-regression
2394bab1
CodaFi Merge pull request #28118 from CodaFi/checkered-past
77393e3b
shahmishal Disable objc_mangling and SwiftObjectNSObject test for watchOS (56959…
c2c8cf59
atrick Merge pull request #28103 from atrick/cleanup-escapes
9931aab3
CodaFi Register a Deleter for the Global TypeChecker Harder This Time
415b6d10
swift-ci Merge pull request #28119 from apple/disable-test-56959761
2b7dd20f
CodaFi Merge pull request #28122 from CodaFi/destroyer-of-minds
e4899444
shahmishal Merge pull request #28095 from apple/shahmishal/update-lit-sim
8b5643f4
shahmishal Update the Xcode version to 11.2
511a26bf
hamishknight NFC: Remove a couple of unused TypeChecker fields
e2193e16
hamishknight [AST] Consolidate Obj-C types on ASTContext
18088b04
hamishknight Use getXXXType over getXXXDecl in a bunch of places
cb0c9adc
DougGregor [Long runtime tests] Link the Objective-C runtime.
996f2ab6
DougGregor [Type check diagnostics] Add already-fixed test case from rdar://prob…
f4c45e80
AnthonyLatsis Clean up WhereClauseOwner
bf91cf9a
AnthonyLatsis Special-case the GenericParamList ctor for WhereClauseOwner
db423e7b
dexonsmith ClangImporter: Remove redundant temporary copy of CompilerInvocation
0a1d270d
dexonsmith ClangImporter: Use a separate CompilerInstance for canReadPCH
178d2090
swift-ci Merge pull request #28130 from DougGregor/diag-rdar56710317
b51d3639
xedin [CSDiag] Remove obsolete `ArgumentMatcher` from `FailureDiagnosis`
c3acce4d
dexonsmith Merge pull request #28125 from dexonsmith/clang-importer/separate-com…
a853d763
DougGregor Merge pull request #28129 from DougGregor/long-runtime-tests-objc
b957a563
hamishknight [AST] Consolidate Obj-C types on ASTContext (#28128)
1a810747
hamishknight fixItEncloseTrailingClosure doesn't need a TypeChecker
b57c86dc
hamishknight diagnoseUnownedImmediateDeallocation doesn't need a TypeChecker
fb55c032
hamishknight performAbstractFuncDeclDiagnostics doesn't need a TypeChecker
d8dfbbcd
hamishknight performStmtDiagnostics doesn't need a TypeChecker
bd6fd38e
hamishknight performSyntacticExprDiagnostics doesn't need a TypeChecker
be841537
CodaFi [CS] Remove some TypeChecker uses
41ab2357
hamishknight Remove an unnecessary call to createTypeChecker
27e3d9f6
owenv [Diagnostics] Introduce "Educational Notes" for diagnostics
ac05a669
theblixguy [PropertyWrappers] When finding the initial value for the property, p…
a2d0bf6f
[IDE] Fix CursorInfo crash on arg label when the called 'function' is…
1218613e
slavapestov SILOptimizer: Don't optimize initializers for dynamically-sized globals
a86f1744
ravikandhadai [Constant Evaluator] Make symbolic closures, which are representations
957dc8e3
xymus Fix test rdar56710317.swift for the iOS simulator
fd191bff
xymus Merge pull request #28136 from xymus/fix-simulator-test
cdaa3ba4
xedin Merge pull request #28131 from xedin/remove-argument-matcher
3d10f33e
ahoppen Merge pull request #28019 from ahoppen/install-stresstester-pr-testing
4d4ee03b
slavapestov Merge pull request #28072 from slavapestov/global-opt-resilience-fix
82805270
ravikandhadai [OSLogOptimization] Minor refactoring of the logic for determining
882f4d7b
xedin [TypeChecker] Disambiguite cases of implicit pointer conversions with…
3feb25c9
ravikandhadai [stdlib-private][oslog] Remove OSLogArguments.serializeAt method
b0de132a
nkcsgexi ClangImporter: pass down -warnings-as-errors to clang invocation
a06824d5
hamishknight Remove some more TypeChecker uses (#28132)
f519505c
hamishknight [Sema] Remove remaining calls to TypeChecker::diagnose
56d07d1a
hamishknight [Sema] Remove TypeChecker::diagnose[WithNotes]
82565e8a
swift-ci Merge pull request #28137 from ravikandhadai/constexpr-closure-subst-map
c8465f11
ahoppen [build-presets] Test the stress tester and swiftevolve as downstream …
aeafd8cd
nkcsgexi Merge pull request #28142 from nkcsgexi/werror-to-clang-importer
7837a3da
swift-ci Merge pull request #28140 from ravikandhadai/oslog-minor-refactoring
8a130875
slavapestov AST: Fix combineSubstitutionMaps() for requirements placed on outer g…
559eaf02
slavapestov AST: Add an assertion
21b5326e
slavapestov Add a regression test for SR-8469 / rdar://43888895
88cbcea3
swift-ci Merge pull request #28143 from ravikandhadai/oslog-serializeAt-removal
b9d41234
owenv [Diagnostics] Add a section to Diagnostics.md on educational notes
da7e1ca8
CodaFi Merge pull request #28123 from AnthonyLatsis/whereclauseowner-cleanup
110b76e3
slavapestov Merge pull request #28147 from slavapestov/devirt-outer-param-require…
b12923a2
hamishknight [Sema] Remove TypeChecker::diagnose[WithNotes] (#28146)
5d3b3a69
davezarzycki Merge pull request #28078 from davezarzycki/pr28078
b8122db4
davezarzycki [Tests] Remove `no_asserts` from sema perf tests
b1e253ee
theblixguy Merge pull request #28099 from theblixguy/fix/SR-10937
7e1ed77a
compnerd build: adjust cmake invocation for llbuild
0ad2e24d
xedin Merge pull request #28141 from xedin/sr-8411
ef98b39d
theblixguy [MiscDiagnostics] Diagnose passing a non-@objc dynamic KeyPath proper…
fab6ce95
hamishknight Remove external uses of TypeChecker's Context field
643ef804
hamishknight Remove TypeChecker fields from a few walkers
f92c96a3
hamishknight Make TypeChecker's Context and Diags fields private
4ef137bb
ahoppen Merge pull request #27855 from ahoppen/test-stress-tester-downstream
98c7ccc1
[test][IDE] Test interface generation with grouping and synthesize ex…
dd2cced1
theblixguy Merge pull request #28135 from theblixguy/fix/SR_5115
e33ed77d
owenv Merge pull request #28052 from owenv/educational-notes
caa63162
ahoppen [build-presets] Don't build SwiftSyntax on incremental bots
96349b88
Merge pull request #28134 from nathawes/fix-cursor-info-on-call-arg-l…
345bcdb8
xymus Merge pull request #28159 from ahoppen/dont-build-swift-syntax-increm…
83307748
swift-ci Merge pull request #28027 from marcrasi/add-interface-print-test
1ea23d91
Merge pull request #28154 from nathawes/test-interface-gen-group-plus…
d7ad79ee
drodriguez [android] Split the Android CI build presets.
c366dc30
ahoppen [build-presets] Don't build the stress tester in Swift PR testing
dd8f17db
xymus Merge pull request #28169 from ahoppen/dont-build-stresstester-pr
fae109e5
drodriguez [windows] Avoid warning in header in test turning into fatal error.
66b65690
hamishknight [Changelog] Add entry for unsound pointer diagnostics (#28109)
9fec658a
beccadax [NFC] [DiagnosticEngine] Improve output for malformed diagnostic mess…
4f8756d1
DougGregor [Constraint systme] Rename solve() -> solveImpl().
9204d7ce
DougGregor [Constraint system] Drop unnecessary Expr* parameter from core solve.
7ff75da2
DougGregor [Constraint solver] Be more careful about NULL parent expression.
0e269a51
DougGregor [Constraint solver] Stop using the "root expression" in failure diagn…
c744066c
DougGregor [Constraint system] Use parent of anchor for trailing closure ambiguity.
a7d6deb0
DougGregor [Failure diagnostic] Use the constraint system's parent map.
3fbdac51
DougGregor [Constraint system] Drop the root expression from FailureDiagnostic.
bc926f7e
davezarzycki Merge pull request #28149 from davezarzycki/pr28149
a3c19254
DougGregor [Constraint system] Fall back to baseCS when looking for an expressio…
51cb3333
beccadax Merge pull request #28177 from brentdax/diagnostics-in-your-diagnostics
37d3ce7b
drodriguez Merge pull request #28163 from drodriguez/android-split-build-preset
27482073
davezarzycki [Testing] Disable sema perf tests during ASAN testing
db78b321
swift-ci Merge pull request #28178 from davezarzycki/pr28178
2f11005e
DougGregor Merge pull request #28166 from DougGregor/constraint-system-decouple-…
24fc36de
drodriguez [Visual C++] Provide alternative to array designators.
eb7a26db
compnerd Merge pull request #28175 from drodriguez/windows-disable-warning-for…
5ca5c153
compnerd Merge pull request #28151 from compnerd/llbuild-cmake
7e425dd6
drodriguez Merge pull request #28170 from drodriguez/msc-alternative-to-array-de…
6792e0bc
CodaFi Merge pull request #28152 from hamishknight/decontextualize
4bf90254
Simplifying the flow (#28010)
47aa9770
jder Improve warning for inferring an undesirable type (#27797)
f5f214de
CodaFi Make typeCheckExpression a utility
d21424b5
CodaFi Make typeCheckDecl a utility
1c38ec65
CodaFi Make more high-level type checking endpoints utility
63896c1f
CodaFi Move constraint satisfiability utilities
1123b1f8
CodaFi Migrate getTypeOfExpressionWithoutApplying
e7ef8abd
CodaFi Drop the TypeChecker out of ConstraintSystem
7bad9aac
CodaFi Drop TypeChecker out of some Code Completion utilities
b7d94e4b
CodaFi Remove TypeChecker from parameter default checking
32e68468
CodaFi Make convertToType a utility
ecb7b8c7
CodaFi Move preCheckExpression to ConstraintSystem
535150c7
CodaFi Add PreCheckFunctionBuilderRequest
301e0421
CodaFi Remove some ancillary TypeCheckers
1000c9d1
CodaFi Remove TypeChecker::Diags
1b75dbd4
gottesmm [pmo] NFC. Split addMissingDestroysForCopiedValues into a version for…
476f401b
CodaFi Merge pull request #28179 from CodaFi/destroyer-of-hearts
852585e4
swift-ci Merge pull request #28180 from gottesmm/pr-0d88f7d286f6035e314aa6d30f…
78f10e7c
CodaFi [NFC] Remove Diagnostic State From TypeChecker
efb6117b
CodaFi Partially Revert #27862
dd1b1577
CodaFi Merge pull request #28171 from CodaFi/one-one-ten-ded-consequences
5a1cae11
CodaFi Merge pull request #28181 from CodaFi/exprt-systems
0a262fc5
xymus type_checker_perf test rdar33688063 is often too slow for the fast dir
40f556e0
ahoppen [build-presets] Don't build SwiftSyntax in linux preset
421857b4
xymus Merge pull request #28186 from ahoppen/disable-swiftsyntax-testing-linux
da51a0ee
xymus Merge pull request #28184 from xymus/still-too-slow
ce6a1cbd
bgogul Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-11-11-a' into tensorflow-m…
40163018
bgogul Merging swift-DEVELOPMENT-SNAPSHOT-2019-11-11-a into tensorflow
a6ae26e9
bgogul Remove TypeChecker from CheckCompilerAvailableBody.
e016e242
bgogul Fix compilation errors from the merge.
16f0229d
bgogul Renumber some attributes in Attr.def to avoid duplicate values.
6683ee05
bgogul Fix uses of diagnose to ASTContext::Diags::diagnose.
8335d697
bgogul update llvm-project commit hash to the merged version.
a532555c
bgogul More fixes for TC.Context.
a69efd17
dan-zheng Fix `WhereClauseOwner::getRequirements`.
b9d1839d
dan-zheng Default `EnableExperimentalDifferentiableProgramming` to true.
e1f39386
bgogul Remove Differentiation from lookup.
7a491379
bgogul Change expected error messages to match the expectations in master.
30d51cb7
bgogul Remove "do you want to add protocol stubs" note from expectations.
3b33b830
bgogul Fix for TF-971.
479ce078
bgogul Put back changes related to generic builtins.
ec63a6e9
bgogul Fix tests to match off-by-one line number in error messages.
b36e7ba7
bgogul Disable differentiable_features_disabled.swift in tensorflow branch.
ddf6c511
bgogul Update dependencies to new snapshot version 'swift-DEVELOPMENT-SNAPSH…
3c90afb3
bgogul
bgogul bgogul requested a review from dan-zheng dan-zheng 5 years ago
bgogul bgogul requested a review from marcrasi marcrasi 5 years ago
dan-zheng
dan-zheng approved these changes on 2019-11-19
dan-zheng
dan-zheng
dan-zheng
dan-zheng
dan-zheng
xymus [test] type_checker_perf test rdar33688063 still fails, let's disable it
2d702b37
dan-zheng
dan-zheng
bgogul Pull in the upstream @differentiable attribute changes (#28198)
3f7d4c13
dan-zheng [AutoDiff] Simplify varied propagation in activity analysis. (#28191)
43041eee
dan-zheng [AutoDiff] Fix invalid `@differentiable` attribute SILGen crash. (#28…
a58b1df1
dan-zheng [AutoDiff] Destroy unused pullback direct results. (#28207)
711591ea
dan-zheng [AutoDiff] Update `@differentiable` syntax. (#28212)
ca9a6a6d
dan-zheng [AutoDiff] Add negative tests for TF-954. (#28223)
d0fb9fce
dan-zheng [AutoDiff] Revamp usefulness propagation in activity analysis. (#28225)
3a5e486e
dan-zheng [AutoDiff] NFC: IRGen gardening. (#28238)
163429ec
[AutoDiff] add negative tests found by random code generator (#28219)
0b237430
dan-zheng [AutoDiff] Emit SIL diff witnesses into original function's IRGenModu…
250fd3f3
dan-zheng [AutoDiff] NFC: gardening. (#28251)
0267c134
dan-zheng [AutoDiff] Add negative test for TF-962. (#28252)
1d0861fb
dan-zheng [AutoDiff] Add negative test for TF-922. (#28256)
ac861959
Vooblin [Doc] Add link to GPU build status to README.md (#26020)
38ae5cde
dan-zheng [AutoDiff] Fix adjoint value propagation for basic block arguments. (…
1f836b3c
dan-zheng [AutoDiff] Add negative tests for TF-952. (#28258)
a4e43c9a
rxwei [AutoDiff] Fix over-consume when differentiating `tuple` instruction.…
bc2fd6b3
dan-zheng [AutoDiff] Fix usefulness propagation for array literal initializatio…
b5916efc
dan-zheng [AutoDiff] Fix `destructure_tuple` differentiation. (#28281)
63908113
dan-zheng [AutoDiff] Fix activity analysis use-after-free crash. (#28285)
c45a618b
dan-zheng [AutoDiff] NFC: Fix pretty stack trace locations. (#28312)
801642ec
[AutoDiff] IRGen differentiability_witness_function (#28331)
f8d1b4c2
bgogul Fix assertion failure in swift quotes.
41b0ef02
update checkout for llvm-project
0f13e793
dan-zheng Merge branch 'tensorflow' of github.com:apple/swift into tensorflow-m…
9600858f
dan-zheng
dan-zheng
dan-zheng
dan-zheng dan-zheng merged 46b7a58d into tensorflow 5 years ago
dan-zheng dan-zheng deleted the tensorflow-merge branch 5 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone