swift
Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-12-20-a' into tensorflow
#28924
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
209
Changes
View On
GitHub
Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-12-20-a' into tensorflow
#28924
dan-zheng
merged 209 commits into
tensorflow
from
tensorflow-merge
SymbolicValue is_pod -> is_trivial
cb85ecf1
add @nondiff to AnyFunctionType params
f5677cbe
rename nondiff => noDerivative
6e559ab8
clang-format
1058a38a
Merge branch 'master' of github.com:apple/swift into ast-nondiff
e5e25a6c
TBDGen: generate $ld$hide$os symbols for decls marked with @_original…
c4848946
IRGen: add a function suitable for emitting linker directive as globa…
fdcd5062
IRGen: reuse linker directives collected from tbd gen to emit these s…
93a83d3f
IRGen: keep emitting protocol witness table symbols for refactored pr…
25376025
[test] IRGen: add a test for generating linker directive symbols $ld$…
c31b9666
[test] TBD: add a tbd gen test for generating linker directives
5d9e7b9e
test: add a linker directive test for ios
f0984484
TBDGen: use active platform versions to genearate linker directives
66b4737d
Front-end: teach the compiler to generate a .c file for $ld$add$os sy…
3a55c3c9
test: mark linker directives tests as macosx only
d0b4da6f
sema: diagnose bad interactions between @available and @_originallyDe…
5e30d0e0
Merge branch 'master' into tbdgen-ld-hide
03fab30e
[NFC] Refactor name parsing into `Parser::parseDeclNameRef()`
c5747c3d
[NFC] Switch uses over to parseDeclNameRef()
9fa4303d
[NFC] Remove unused Parser::parseUnqualifiedDeclName methods
b5f02c3d
[NFC] Improve wording and usage of subscript/deinit flag
bed2ce4a
[Dynamic casting] Fix overrelease on unsuccessful cast to an Error type.
23cc0790
[CS] Resolve callees for key path dynamic members
cefc03f0
[AutoDiff upstream] Add `@transpose(of:)` attribute.
c842fee0
Add an option to disable ClangImporter imports form source.
046c8499
Add Qualified Lookup Requests
e7170bd7
Block additive lookup in directReferencesForQualifiedTypeLookup
f22fb813
Use -[NSSet getObjects:] instead of -[NSSet getObjects:count:] to mai…
257c93a1
EscapeAnalysis: Add PointerKind and interior/reference flags
f7472e2c
EscapeAnalysis: Make EscapeState and UsePoints a property of the cont…
5a27e5d8
EscapeAnalysis: Do not create defer edges for block arguemnts.
cec925c5
[Serialization] Fix reporting a dependency cycle with a missing clang…
c2c36d07
[Typechecker] Fix a few regressions with @autoclosure (#28677)
66c2429c
Merge pull request #28816 from CodaFi/you-know-my-name-lookup-up-my-n…
ea1d5ef4
Revert "SR-5289: Teach Mirror how to handle unowned/unmanaged referen…
ca693eec
Merge pull request #28821 from apple/revert-28368-SR-5289
c89d6ade
[CS] Resolve callees for key path dynamic members (#28807)
56265a26
Merge pull request #28817 from Catfish-Man/ducking-types
a46ea4bd
[RemoteAST] Using module names specified by @_originallyDefinedIn for…
1ebc78b2
Merge pull request #28801 from brentdax/im-not-qualified-for-this
439d99cc
[Typechecker] Fix a crash related to use of invalid @autoclosure para…
f8dace59
Merge pull request #28804 from DougGregor/error-cast-overrelease
a8f2f95c
[run-test] Change default path for "lit.py" executable.
90a33fa3
[Type check] Consider dynamic casts to NSError and NSObject.
942aecaf
Merge pull request #28827 from DougGregor/type-checker-cast-nserror
46bc50dc
Unset IFS after its use in set_build_options_for_host (#28811)
f67ccf5c
Merge pull request #28820 from xymus/fix-cycle-diag-crash
a36fd6d4
Merge pull request #28813 from adrian-prantl/57880844
d595213f
[SR-5289] Teach Mirror how to handle unowned/unmanaged references (#2…
fdb19264
IRGen: Replace local utility function by existing function on IRGenMo…
729609b1
EscapeAnalysis: rewrite canEscapeToUsePoint.
0ea3bb1f
EscapeAnalysis: Add and update tests.
fa47f19b
test: add a test for demangle moved type names during runtime
12d148b4
test: update test to combine @available with @_originallyDefinedIn
cf791637
Clarify `@derivative(of:)` and `@transpose(of:)` attribute names.
b94c097d
Fix qualified name parsing syntax verification errors.
aecf9a17
test: move demangle metadata for moved symbols to a separate file
624c2fc4
Merge pull request #28822 from theblixguy/fix/SR-11939
54d67d9d
Merge branch 'master' of github.com:apple/swift into upstream-transpo…
cd1400d6
Merge pull request #28831 from aschwaighofer/irgen_remove_asSizeConstant
bac5a641
build: enable cross-compilation on Windows
c874aa0f
[AutoDiff] NFC: gardening.
6b072ecb
Merge pull request #28691 from nkcsgexi/tbdgen-ld-hide
9b599961
Correctly calculate extra inhabitants for no-payload enums (#28830)
2b5ada11
Merge pull request #28838 from dan-zheng/autodiff-cleanup
38e577e3
Address parsing/syntax review feedback.
c7369389
[ASTPrinter/CodeCompletion] Stop printing base type when possible
62078c79
[ASTPrinter] Test case for moduleinterface with member typealiases
6da2ca7a
Create shared utility `Parser::canParseSimpleTypeIdentifier`.
fa31c75a
Add test case for https://bugs.swift.org/browse/SR-9868
80dbf7e5
Merge pull request #28836 from compnerd/x-windows
d3949e73
Revert "[ClangImporter] Hash content for validation when using clang …
6eb6bbef
TypeNodes.def -> TypeNodes.inc because of a random open-source request.
208ac454
Merge pull request #28800 from atrick/escapeflags
3fdf6c86
build: add explicit architecture check
80c45b40
Revert "EscapeAnalysis: add node flags and change the meaning of "esc…
bb067f4d
Merge pull request #28844 from compnerd/x11
ed068f09
Merge pull request #28848 from apple/revert-28800-escapeflags
6f4d65b9
[cmake] Add support for exporting frameworks/libraries into cmake exp…
8d712af9
Merge pull request #28165 from rintaro/astprinter-rdar57033931
c146c65e
Merge pull request #28841 from bcardosolopes/master-revert-hash-input
899cc20d
[CS] Push callee resolution into finishApply
ee5ce77c
[CS] Use custom locator element for `callAsFunction`
40d11716
[AutoDiff upstream] `@derivative` attribute type-checking fixes.
1d66571b
Merge pull request #27545 from apple/transposing-attr
a9c9f260
Merge pull request #28850 from gottesmm/pr-1632740d4d2400f5193382e840…
e18f1661
[SIL Optimization] Create a new utility InstructionDeleter to delete …
93568646
Merge pull request #27521 from apple/marcrasi-patch-1
37c6be80
[Property wrappers] Diagnose unavailable wrappedValue
b7532f91
Check for nullptr inside NominalTypeDecl::isResilient
0823d8b6
[gardening] Eliminate dead variable.
1ddb916b
[gardening] Be more defensive around a potentially uninitialized Stor…
df6d25fa
[gardening] Remove unused variable.
68960005
[build] Remove make_relative_symlink from build-script-impl
a6fd37e1
Merge pull request #28857 from DougGregor/property-wrappers-unavailab…
2acd4251
Add a test for incorrectly constructing a Set from an NSArray
0ce856b0
Merge pull request #28859 from nkcsgexi/58049956
e1663c93
Merge pull request #28860 from gottesmm/pr-ecaea6466ae4502fe6e1cf51ed…
b64c620e
Merge pull request #28853 from dan-zheng/derivative-attr-type-checking
ddcb1d56
add -enable/disable-only-one-dependency-file flag, on by default
2a79331a
[NFC] Const-ify Some ClangImporter Interfaces
d2f7a271
Drop unused argument to mirrored member importing
ac75f31a
Teach loadNamedMembers to import inherited constructors
a1b45147
Force load all members of iterable contexts in the DWARF Importer
b654bc35
[semantic-arc] Small cleanups + some comments. NFC.
3e47e23a
[CS] Use custom locator element for callAsFunction (#28854)
2b426713
[NFC] Use CompoundDeclName for zero-arg names
d0e95788
Merge pull request #28863 from Catfish-Man/ducking-types-test
6936d0dc
Merge branch 'master' into ast-nondiff
72194c54
Merge pull request #28635 from ravikandhadai/oslog-dead-code-elim-patch1
774af197
Merge pull request #28802 from YOCKOW/run-test-llvm-project-path
15bcf53a
Merge pull request #28840 from CodaFi/constrnation
9209e4ff
Merge pull request #28865 from gottesmm/pr-0437ed0a25aba3ef32d53473cb…
a50b9401
Merge pull request #28861 from xiaobai/ded-code
1de89343
Merge pull request #28843 from rjmccall/swift-reaction
36f467c1
[SourceKit] Support VFS in 'typecontextinfo' and 'conformingmethods' req
f51f3b88
[CodeCompletion] Align swiftCodeCompleteImpl() with other similar funcs
cd284d12
[CodeCompletion] Use offsets in the buffer for second pass state
ff97c06e
[SourceKit] Reuse compiler instance between multiple completion
62c44126
[SourceKit] Add option to enable ASTContext reusing for code completion
c1530eed
[SourceKit] Calculate CompilerInvocation hash
a83c7e86
[SourceKit] Add a test case for fast code completion
fcc7e411
[SourceKit] Limit compiler instance reuse count for completions
c3d58284
[SourceKit] Add test file for fast completion
2160134d
[CodeCompletion] Add doc-comment for CompletionInstance
204ae49b
[CodeCompletion] Rename getReusingCompilerInstance()
f2466dee
[SourceKit] Hold CompletionInstance with std::shared_ptr
c5b1ada9
[CodeCompletion] Use the arguments to check the equality of the invoc…
0f452679
[SourceKit] Add more test cases for fast completions
fcb50d63
[SourceKit/CodeCompletion] Use callback function to run the second pass
044477e7
[CodeCompletion] Pack cached instance information into single struct
fe07d449
[CodeCompletionn] Block completions in other threads
2aec5d4d
Update mailmap for bitjammer
370bd1d2
[IRGen] Canonicalize associated type witnesses.
4e71ce53
off-by-default & fix tests
0291b367
Refactor Direct Name Lookup
1a9bdaff
EscapeAnalysis: Add PointerKind and interior/reference flags
8b926af4
EscapeAnalysis: Make EscapeState and UsePoints a property of the cont…
7fb4e21b
EscapeAnalysis: Do not create defer edges for block arguemnts.
17ab0ad5
EscapeAnalysis: rewrite canEscapeToUsePoint.
3782d67c
EscapeAnalysis: Add and update tests.
6dfbafb1
Merge pull request #28869 from DougGregor/assoc-type-witness-canon
d59c23fa
Merge pull request #28867 from davidungar/enable-disable-off-by-default
69d1060d
Add missing ? in “did you mean …” diagnostics
4a590cea
off-by-default & fix tests
78c7eecd
Change to defaulting on
b1f6a894
Merge pull request #28868 from bitjammer/acgarland/mailmap
233ad32d
[Driver] Add unversioned triple to the output of -print-target-info.
3a9b8bc6
Merge pull request #28743 from davidungar/enable-disable-on-by-default
c03fbb58
Merge pull request #28872 from ftchirou/SR-11919/fix-diagnostics
5f0dd91a
Merge pull request #28874 from DougGregor/unversioned-triple
393c6d35
Merge pull request #28871 from atrick/escape-cycle
2630be18
Ast dump ignore wmo (#20596)
aebfb539
[Diagnostics] Diagnose inability to infer (complex) closure return type
8bcc1925
[CSDiag] NFC: Remove obsolete `diagnoseAmbiguousMultiStatementClosure`
a7bb827b
[SourceKit] Pass 'EnableASTCaching' flag as an argument
eebcbf65
[Test] Disable reflect_Enum_(254|Two)CaseNoPayloads.swift when testin…
8e7c6a5c
Merge pull request #28881 from mikeash/fix-new-enum-tests-back-deploy…
6cce47d9
[test] Mark _Differentiable tests as unsupported in Swift-in-the-OS c…
216d02f8
Merge pull request #28882 from lorentey/master
576df04f
Merge pull request #28866 from brentdax/raiding-the-compound
bab12398
Merge pull request #28278 from marcrasi/ast-nondiff
ec0a2cae
Merge pull request #28880 from xedin/port-multi-stmt-closure-diags
b03b356b
Merge pull request #28727 from rintaro/sourcekit-completion-reuseinst…
10936f6d
[di] Hide some internal state and give some methods better names give…
980b1f05
[ownership] Allow mark_uninitialized to only take owned/none ownershi…
b2686982
[Clang importer] objc_direct methods/properties are unavailable in Sw…
35a19067
Merge pull request #28885 from gottesmm/pr-68358de07d2e4962213824f972…
f5f3ccba
Merge pull request #28876 from gottesmm/pr-f24fe5098010cb44c8efa61698…
65086048
Merge pull request #28886 from DougGregor/objc_direct
2cb6cdc0
[AutoDiff] factor derivative typechecking helper out of AttributeChecker
637314ae
Allow implicit self in escaping closures when self usage is unlikely …
71697c37
Revert "[test] Mark _Differentiable tests as unsupported in Swift-in-…
f2ed81b7
Merge pull request #28845 from CodaFi/a-little-looksie
4a943abb
Driver: mark test as XFAIL on windows
5ab6c46e
Merge pull request #28879 from marcrasi/less-mutating-typechecking
e47543c4
Parse: Remove some dead code
72018dbe
Parse: Parse entire top level in one shot
1c2ac8ee
Sema: Fix a couple of problems with capture analysis and TopLevelCode…
19049608
SILGen: Diagnose invalid captures of top-level bindings
04bf4327
Parse: Keep track of top-level declarations that follow a 'guard' sta…
8e6dc39f
AST: More consistent definition of a 'local capture'
e4626263
SILGen: Clean up invariants around capture lists
8214e188
Sema: Tweak SanitizeExpr handling of AutoClosureExprs
bdbe062a
Sema: Remove TypeCheckExprFlags::SkipMultiStmtClosures
af07642c
Revert "SILGen: Simplify SILGenFunction::emitClosure()"
4017a166
SILOptimizer: AllocBoxToStack preserves [transparent] bit in cloned f…
f9943349
IDE: Preparations for Sema building curry thunks
3149d6d6
AST: Simplify Expr::getReferencedDecl()
3604b21f
[AutoDiff] Enable `@derivative` attribute qualified declaration names…
14ee6c5d
Merge pull request #28893 from apple/revert-28882-master
d61de7d8
[AutoDiff] Fix build error.
2692abbe
Merge pull request #28897 from dan-zheng/derivative-attr-qualified-decl
06014e62
Merge pull request #28596 from slavapestov/fun-with-guard-let
0514248f
Merge pull request #28895 from slavapestov/prep-for-sr-75
a99f24f7
[CodeCompletion] Eliminate CodeCompletionCallbacks::completeExpr()
ab047517
Merge pull request #28894 from compnerd/wunicode
4062012d
Make path suitable for Windows
419240f4
[Typechecker] Fix duplicate diagnostics when using attributes (#28888)
3cda9343
Merge pull request #28898 from rintaro/ide-completion-rdar58102910
d0e52709
[MSVC] Evaluate parameters in the right order.
fb30e9ec
Remove re-entrancy assertion
539d8dac
Merge pull request #28906 from drodriguez/windows-explicit-parameter-…
21010290
Merge pull request #28907 from CodaFi/rewind
b6449802
Merge pull request #28902 from davidungar/windows-compatible-dummy-file
97a56902
Revert "Driver: mark test as XFAIL on windows"
621cd3ea
Merge pull request #28909 from apple/revert-28894-wunicode
2007515c
Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-12-20-a' into tensorflow
821885f9
Fix merge conflicts.
a34e2591
dan-zheng
added
tensorflow
dan-zheng
commented on 2019-12-22
dan-zheng
merged
779e35f8
into tensorflow
6 years ago
dan-zheng
deleted the tensorflow-merge branch
6 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
No reviews
Assignees
No one assigned
Labels
tensorflow
Milestone
No milestone
Login to write a write a comment.
Login via GitHub