Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2592 commits
Select commit Hold shift + click to select a range
5c11a4b
[ASTPrinter] TypeWrappers: print inferred attributes
xedin Dec 15, 2022
9eb3adb
Merge pull request #62591 from adrian-prantl/fixed-buffer
swift-ci Dec 15, 2022
68d4f24
Merge pull request #62598 from DougGregor/macro-diagnostics-fixes
DougGregor Dec 15, 2022
a2645b7
Merge pull request #62589 from rjmccall/local-archetypes
rjmccall Dec 15, 2022
3072991
Fix objc_direct test that was failing on watchOS
ellishg Dec 15, 2022
f1fd9ac
[AST] Add 'PackElementExpr' for explicit pack elements spelled with t…
hborla Dec 12, 2022
dc941de
[ConstraintLocator] Add a locator path element that stores an opened …
hborla Dec 14, 2022
ea68720
[CSBindings] Instead of breaking a PackElementOf constraint down into…
hborla Dec 14, 2022
0d4e487
[CSGen] Store a stack of pack element generic environments in constraint
hborla Dec 14, 2022
48fdafe
[ConstraintSystem] Implement constraint generation and solution appli…
hborla Dec 14, 2022
c446177
[Parser] Parse contextual 'each' in expressions as PackElementExpr.
hborla Dec 14, 2022
4202079
[Sema] Represent pack element references in pack expansion patterns as
hborla Dec 14, 2022
f467ef4
[Source manager] Start tracking generated-source info in the source m…
DougGregor Dec 15, 2022
6fff307
Merge pull request #62592 from gottesmm/pr-cbfd912fd4d58ff272d3f1fe4c…
gottesmm Dec 15, 2022
1938b5c
Merge pull request #62565 from nate-chandler/opaque-values/2/20221213
nate-chandler Dec 15, 2022
b8a3bbb
Merge pull request #62564 from nate-chandler/opaque-values/1/20221213
nate-chandler Dec 15, 2022
7dd6af7
[New parser] Move round-trip checking logic into ASTGen
DougGregor Dec 15, 2022
15b1007
[interop][SwiftToCxx] relax the swift-stdlib-in-cxx.swift testcase
hyp Dec 15, 2022
1ebe7ef
Copy files from SwiftSyntax’s gyb_syntax_support that are relevant to…
ahoppen Dec 15, 2022
3b2a570
Remove properties from Token.py that are not relevant for the compiler
ahoppen Dec 15, 2022
1605184
Format AttributeKinds.py to appease the linter
ahoppen Dec 15, 2022
e833657
Merge pull request #62560 from ahoppen/ahoppen/fix-recursive-lipo
ahoppen Dec 15, 2022
9c1af18
Install llvm-ar in the toolchain
finagolfin Dec 11, 2022
6ee4c17
Merge pull request #62573 from meg-gupta/sbiverify
meg-gupta Dec 15, 2022
3d53d73
[move-only-object] Use closureCapture to emit more informative diagno…
gottesmm Dec 14, 2022
c33b9ee
[move-only] Refactor both implementations to use the same diagnostic …
gottesmm Dec 15, 2022
4901529
[move-only-addr] Teach move only address checker that captured vars s…
gottesmm Dec 15, 2022
782e41b
Merge pull request #62540 from artemcm/BinaryExplicitDependencyIsFram…
artemcm Dec 15, 2022
591e3a3
[Test] Fix deinit_escape test.
mikeash Dec 15, 2022
a98621c
Merge pull request #62504 from Jager-yoo/revise-backdeployed-concurrency
amartini51 Dec 15, 2022
e2c53dd
Merge pull request #62570 from meg-gupta/fixossaapi
meg-gupta Dec 15, 2022
10d131d
Merge pull request #62569 from meg-gupta/checkedcastjumpthreadingbug
meg-gupta Dec 15, 2022
25c4c99
[Refactoring] Fix stack-use-after-scope in ContextFinder
rintaro Dec 15, 2022
5d0a509
Merge pull request #62435 from PriyaAvhad/pavhad/86100601-stealer-sup…
PriyaAvhad Dec 15, 2022
26cf4b4
Merge pull request #62521 from apple/egorzhdan/cxx-overlay-to-toolchain
egorzhdan Dec 15, 2022
7c251b2
Merge pull request #62584 from ahoppen/ahoppen/lint-swiftsyntax
ahoppen Dec 15, 2022
d6aa544
Merge pull request #62601 from ellishg/fix-objc-direct-test-watchos
aschwaighofer Dec 15, 2022
d6b6dc4
Merge pull request #62606 from DougGregor/astgen-round-trip
DougGregor Dec 15, 2022
4e5b55e
Merge pull request #62558 from AnthonyLatsis/wakamole2
AnthonyLatsis Dec 15, 2022
99089c8
Merge pull request #62612 from mikeash/fix-deinit-escape-test
swift-ci Dec 15, 2022
e23665e
[AddressLowering] Map-into-ctx type for yield.
nate-chandler Dec 15, 2022
742d478
Failing tests for runtime polymorphism.
Dec 15, 2022
5f3664e
Merge pull request #62563 from nate-chandler/opaque-values/1/20221212
nate-chandler Dec 15, 2022
1e82ef8
Fix dynamic replacement of weakly linked symbols
aschwaighofer Dec 15, 2022
4e33449
[CodeCompletion] Don't suggest opaque generic parameter types
rintaro Dec 8, 2022
921e61b
Emit "in expansion of macro" notes for diagnostics within macro expan…
DougGregor Dec 15, 2022
cb435c2
[Test] Disable stdlib/StaticBigInt on macOS
xymus Dec 15, 2022
b46eb23
Merge pull request #62621 from xymus/test-staticbigint2
xymus Dec 15, 2022
40724e8
Merge pull request #62613 from rintaro/refactoring-asan-rdar103369305
rintaro Dec 15, 2022
5fb001c
Merge pull request #62610 from gottesmm/pr-2fc1a68995dc3f80805e722e84…
gottesmm Dec 15, 2022
4cb3f58
[move-only-addr] Separate handling of pure takes from copies we must …
gottesmm Dec 11, 2022
878f162
test a potential modules-related fix for windows test failure
hyp Dec 15, 2022
919e2e7
Make sure to mark "in expansion of macro" notes as child notes
DougGregor Dec 15, 2022
c8dea12
Simplify name of macro expansion buffers
DougGregor Dec 15, 2022
2be16b8
[CSSimplify] Delay matching tuple types with unresolved pack expansio…
hborla Dec 15, 2022
472bd1f
[CSApply] Cache the type of a PackExpansionExpr in coerceToType.
hborla Dec 15, 2022
c085682
[Runtime] Fix warnings in CustomRRABI when building for ARM64_32.
mikeash Dec 15, 2022
244ca4e
Merge pull request #62597 from hyp/eng/string-to-std-string
hyp Dec 15, 2022
1230966
[Dependency Scanner] Rename 'ModuleDependenceis' -> 'ModuleDependency…
artemcm Dec 15, 2022
9759c4d
[interop] add a testcase for std::set iteration in Swift
hyp Dec 15, 2022
2c9e807
another speculative fix to windows test failure
hyp Dec 15, 2022
abfdc1b
Merge pull request #62623 from gottesmm/pr-c93e10da573914dbed449fd7c9…
gottesmm Dec 16, 2022
efa9f5b
Delete commented-out code.
adrian-prantl Dec 16, 2022
f53c9a1
Temporarily disable assertion
adrian-prantl Dec 16, 2022
b80984c
[move-only] Make sure that we convert copy_value/load [copy] move onl…
gottesmm Dec 16, 2022
7b08b30
Merge pull request #62586 from xedin/rdar-103270262
xedin Dec 16, 2022
f553832
Merge pull request #62625 from mikeash/fix-custom-rr-arm64_32-warnings
swift-ci Dec 16, 2022
e51176b
Merge pull request #62622 from DougGregor/macro-expansion-backtrace-n…
DougGregor Dec 16, 2022
1a3c6d7
[ASTGen] Handle new parser validation in ASTGen.
DougGregor Dec 15, 2022
33589de
Experimentally emit diagnostics from the new Swift parser
DougGregor Dec 16, 2022
f8e98ca
[ASTGen] Make sure we handle Fix-Its without a matching note.
DougGregor Dec 16, 2022
4ef35c5
Embrace the swift-syntax notion of Fix-Its as separate notes.
DougGregor Dec 16, 2022
54f9cae
Merge pull request #62630 from adrian-prantl/103416237
swift-ci Dec 16, 2022
90dcfbc
Merge pull request #62467 from rintaro/ide-completion-rdar102958462
rintaro Dec 16, 2022
dfe6fd9
Merge pull request #62629 from DougGregor/new-parser-diagnostics
swift-ci Dec 16, 2022
0db4b43
Merge pull request #61863 from LucianoPAlmeida/crash-dump-parse-init
LucianoPAlmeida Dec 16, 2022
1e1126c
AST: fix printing of the `@_objcImplementation` attribute
eeckstein Dec 16, 2022
d442155
LetPropertiesOpts: don't crash for properties in ObjC extensions
eeckstein Dec 16, 2022
4451392
Merge pull request #62617 from nate-chandler/opaque-values/1/20221215
nate-chandler Dec 16, 2022
758d98a
Merge pull request #62627 from hyp/eng/std-set-iter
hyp Dec 16, 2022
e709d94
Merge pull request #62631 from gottesmm/pr-d0e166cdd030c3826f8abfc008…
gottesmm Dec 16, 2022
7a809ef
Merge pull request #62618 from mikepinkerton/polymorphism
hyp Dec 16, 2022
cdf59ad
Merge pull request #62607 from ahoppen/ahoppen/move-gyb-syntax-support
ahoppen Dec 16, 2022
d3bc4f5
Merge pull request #62582 from hborla/pack-element-expr
hborla Dec 16, 2022
d64a24c
Merge pull request #62619 from aschwaighofer/dyn_repl_weak
aschwaighofer Dec 16, 2022
8b1051e
We can do round-trip and validation testing even with deep nesting
DougGregor Dec 16, 2022
4e6e6bd
[Tests] NFC: Add assertions requirement to a type wrapper test
xedin Dec 16, 2022
6d0dd0e
[interop][SwiftToCxx] workaround windows failure with Error new use i…
hyp Dec 16, 2022
0e8d4c4
[SILGen] Fix formal type of global actor metatype.
DougGregor Dec 16, 2022
cfe49a0
Merge pull request #62643 from xedin/rdar-103452169
xedin Dec 16, 2022
1483a66
ClangImporter: Remove unused local variable
slavapestov Dec 16, 2022
5485e54
IRGen: Remove unused function
slavapestov Dec 13, 2022
a9f0b2a
Remove StorageType from DebugTypeInfo::getErrorResult().
adrian-prantl Dec 16, 2022
7d926a7
Clean up some diagnostics related to parser round-tripping
DougGregor Dec 16, 2022
515715b
Merge pull request #62646 from DougGregor/global-actor-formal-metatype
DougGregor Dec 17, 2022
2c83ff7
Merge pull request #61823 from Robertorosmaninho/interop/ExpectedClas…
hyp Dec 17, 2022
d1141d6
Merge pull request #62647 from adrian-prantl/103416237-1
swift-ci Dec 17, 2022
22eeac6
Merge pull request #62641 from DougGregor/parser-round-trip-cleanup
DougGregor Dec 17, 2022
9bc0f25
IRGen: Metadata pack emission
slavapestov Dec 13, 2022
0e72564
IRGen: Support for tuple metadata involving pack expansions
slavapestov Dec 13, 2022
b206c76
Merge pull request #62566 from slavapestov/irgen-metadata-packs
slavapestov Dec 17, 2022
1d3b70d
build: Make `--xcode` imply `--skip-early-swiftsyntax`
AnthonyLatsis Dec 17, 2022
c48a638
Fix assert
valeriyvan Dec 17, 2022
eb750a6
Fix possible memory leak
valeriyvan Dec 17, 2022
d106dc1
Merge pull request #62640 from eeckstein/fix-letpropertyopt
eeckstein Dec 18, 2022
04f4d66
Merge pull request #62388 from compnerd/naming
compnerd Dec 18, 2022
53e4d03
Merge pull request #62510 from buttaface/ar
compnerd Dec 18, 2022
db21566
Merge pull request #62432 from mhjacobson/freebsd-implement-clock-fun…
compnerd Dec 18, 2022
f32f405
[Runtime] Temporarily update attribute ordering
bnbarham Dec 18, 2022
d593623
Do not insert dynamic exclusivity checks in closure cycles
atrick Dec 18, 2022
b47bd15
Merge pull request #62668 from atrick/fix-recursive-access
atrick Dec 19, 2022
01d48e0
Merge pull request #62667 from bnbarham/temp-fix-attribute-ordering
bnbarham Dec 19, 2022
02f7450
At -Onone preserve debug info after splitting loads
atrick Dec 19, 2022
e5d772d
Fix bug missing return in operator=
valeriyvan Dec 19, 2022
93dd07f
replace `llvm::NoneType::None` -> `None`
eeckstein Dec 19, 2022
21d39ba
use the new llvm::Optional API
eeckstein Dec 19, 2022
194ecff
Simplify conditional expression: (A && !B) || (!A && B) is equivalent…
valeriyvan Dec 19, 2022
9b2b8b3
[stdlib] Correct actual print outputs in Concurrency files
Jager-yoo Dec 19, 2022
168ef49
[cxx-interop] Disambiguate const and non-const methods consistently
egorzhdan Dec 14, 2022
20ff4df
IRGen: Don't treat internal but visible via testable import classes a…
aschwaighofer Dec 16, 2022
d7cf7fb
Merge pull request #62679 from eeckstein/optional-none
eeckstein Dec 19, 2022
0138d04
fix an error in Metadata.h when building with a newer clang
eeckstein Dec 19, 2022
abfd790
Merge pull request #62575 from apple/egorzhdan/cxx-disambiguate
egorzhdan Dec 19, 2022
9e22b70
Ensure unique names in ParameterList::clone()
adrian-prantl Dec 19, 2022
1881e17
Make format string a literal in ErrorHandling.cpp
eeckstein Dec 19, 2022
8cd1867
[interop][SwiftToCxx] disable the arm64e testing for swift-expected-e…
hyp Dec 19, 2022
182c1a4
Merge pull request #62672 from atrick/fix-splitload-debug
atrick Dec 19, 2022
c317fee
Utils: Decode subprocess output as UTF-8 in `swift-api-dump.py`.
tshortli Dec 19, 2022
aa12ba3
[Refactoring] exclude part already checked with previuos condition
valeriyvan Dec 19, 2022
7bd57e2
Fix test on linux
aschwaighofer Dec 19, 2022
a59db26
[Dependency Scanner] Rename 'GlobalModuleDependenciesCache' -> 'Swift…
artemcm Dec 15, 2022
5c13523
IRGen: Generate #_hasSymbol helpers for `dynamic` and `@_dynamicRepla…
tshortli Nov 8, 2022
2b27330
Merge pull request #62676 from valeriyvan/CSSimplify-simplify-condition
CodaFi Dec 19, 2022
23e66f7
Merge pull request #62661 from valeriyvan/Refactoring
CodaFi Dec 19, 2022
6c02e51
[CSSyntacticElement] Replace global flag check with info from the solver
xedin Dec 19, 2022
d1bb5ad
[SILGen] TypeWrappers: Handle initialization of property wrapped fiel…
xedin Dec 19, 2022
4a0f9ca
[SILGen] TypeWrappers: force emission of wrapper initializer
xedin Dec 19, 2022
01b5a9d
[DI] TypeWrappers: Support conformance requirements on Wrapper/Storag…
xedin Dec 19, 2022
6a14025
Merge pull request #62693 from valeriyvan/ARCAnalysis.cpp
swift-ci Dec 19, 2022
72ee150
Add -package-name flag
elsh Dec 14, 2022
c3dc454
Merge pull request #62691 from hyp/eng/arm64e-fix-swift-expected-exec…
swift-ci Dec 19, 2022
fc68fb3
Refactoring the C++ thunk to directly return the Swift::Expected inte…
Robertorosmaninho Dec 19, 2022
f215c08
Merge pull request #62695 from tshortli/swift-api-dump-utf8
tshortli Dec 19, 2022
402ba14
Set closure descriminators via a request.
DougGregor Dec 1, 2022
514b703
Merge pull request #62628 from artemcm/ScannerRefactor
artemcm Dec 19, 2022
fe0715d
Add support for Swift 5.8 branch
shahmishal Dec 19, 2022
2b79371
Force computation of discriminators when dumping for non-debugging pu…
DougGregor Dec 19, 2022
c951497
Fall-back assignment of closure discriminators in ill-formed code
DougGregor Dec 19, 2022
5004cee
Merge pull request #62686 from aschwaighofer/testing_debacle
aschwaighofer Dec 20, 2022
4d5ce98
Fix the branches for DocC and markdown
shahmishal Dec 20, 2022
e2f051b
Merge pull request #62697 from xedin/replace-flag-with-info-from-appl…
xedin Dec 20, 2022
6ccb390
Merge pull request #62688 from adrian-prantl/102367872-1
swift-ci Dec 20, 2022
509e74e
pr feedback
elsh Dec 20, 2022
3693029
Merge pull request #62702 from apple/update-checkout-5.8-support
swift-ci Dec 20, 2022
e159040
Merge pull request #62705 from DougGregor/closure-discriminators-request
DougGregor Dec 20, 2022
1ef2a56
Merge pull request #62651 from tshortli/has-symbol-dynamic
tshortli Dec 20, 2022
c8eb1f2
Merge pull request #62687 from eeckstein/fix-strict-clang-errors
eeckstein Dec 20, 2022
7323d32
Merge pull request #62700 from apple/es-pkg1
elsh Dec 20, 2022
a6e056b
Merge pull request #62701 from Robertorosmaninho/cxx-interop/Refactor…
hyp Dec 20, 2022
454913a
[TypeResolution] Plumb a pack element opener function through type re…
hborla Dec 19, 2022
27aa365
[ConstraintSystem] Open pack element types using a PackElementOf cons…
hborla Dec 20, 2022
7b35e85
[PreCheckExpr] Consider postfix ellipsis expressions containing 'each…
hborla Dec 20, 2022
8c5e1b6
[AST/Sema] RuntimeMetadata: make it possible to use unbound generic t…
xedin Nov 16, 2022
01fb1f8
[Sema] RuntimeMetadata: Implement custom attribute placement validation
xedin Nov 16, 2022
91f995c
[TypeChecker] RuntimeAttr: Add skeleton generator implementation
xedin Nov 25, 2022
8e66f19
[AST/Sema] RuntimeMetadata: Add a way to retrieve runtime metadata attrs
xedin Nov 25, 2022
84c2ff6
[SILDeclRef] Make it possible to identify references to runtime acces…
xedin Nov 26, 2022
4806e74
[AST/Decl] RuntimeMetadata: Make it possible to retrieve a generator …
xedin Nov 27, 2022
5afccec
[AST] RuntimeMetadata: Register all decls with runtime discoverable a…
xedin Nov 27, 2022
3fb69b3
[SIL] SILFunction: Add `runtime accessible` function attribute
xedin Nov 28, 2022
f7ee072
[Serialization] SILFunction: handling for "runtime accessible" attribute
xedin Nov 28, 2022
0c5e133
[IRGen] Add runtime accessible functions to a special section
xedin Nov 28, 2022
52cec67
[ABI/Mangling] RuntimeMetadata: Add mangling for runtime discoverable…
xedin Nov 29, 2022
b881937
[IRGen] RuntimeMetadata: Add linking record for runtime discoverable …
xedin Nov 29, 2022
59d6509
[IRGen] Make it possible to get address of accessible func record
xedin Nov 29, 2022
8a74986
[Sema] RuntimeMetadata: Add type decl accessor for runtime metadata a…
xedin Nov 29, 2022
5442d30
[IRGen] RuntimeMetadata: Emit runtime discoverable attributes section
xedin Nov 29, 2022
8de03a2
[ABI] Metadata: Add a runtime discoverable attribute and its entry
xedin Nov 29, 2022
6c1f37a
[AST] Add mangling for runtime attribute generators
xedin Nov 30, 2022
7d54af8
[AST] RuntimeMetadata: Add new initializer context to cover runtime a…
xedin Nov 30, 2022
8a93009
[AST/Sema] RuntimeMetadata: Switch generator synthesis to produce an …
xedin Nov 30, 2022
bcaaa91
[IRGen] Linking: Get AccessibleFunction parent module directly
xedin Dec 2, 2022
91042d7
[SILGen] Make it possible to emit generator function given its body a…
xedin Dec 3, 2022
b83b094
[SILDeclRef] RuntimeMetadata: Add a special kind for runtime attribut…
xedin Dec 2, 2022
76f352d
[Sema/IRGen] NFC: add IRGen test for runtime discoverable attributes
xedin Dec 6, 2022
f7f2e37
[Sema] RuntimeMetadata: Synthesize a body for runtime attribute gener…
xedin Dec 6, 2022
618b9d9
[Sema] RuntimeMetadata: Use `CustomAttrTypeRequest` while synthesizin…
xedin Dec 6, 2022
5a1f197
[Sema] RuntimeMetadata: Workaround for availability checking of gener…
xedin Dec 6, 2022
a98a35e
[Sema] RuntimeMetadata: Verify that runtime attribute has a valid ini…
xedin Dec 7, 2022
a5af302
[stdlib] RuntimeMetadata: Register newly added "runtime attributes" s…
xedin Dec 8, 2022
11033c6
Fill out dynamic loading of the runtime attributes section
grynspan Dec 8, 2022
43904e5
[ASTPrinter] Mark declarations with runtime attributes as using the f…
xedin Dec 13, 2022
8af9b14
Only touch the MetadataSections::swift5_runtime_attributes field in n…
grynspan Dec 13, 2022
74fdd58
[SILGen] RuntimeMetadata: Change attribute generator to always produc…
xedin Dec 16, 2022
02937a7
[Sema] RuntimeMetadata: Supress attr inference for local types
xedin Dec 16, 2022
4a91832
[Sema] RuntimeMetadata: Allow declaring `init(attachedTo:)` overloads…
xedin Dec 16, 2022
932c6eb
[Tests] RuntimeMetadata: Add test-cases for attributes on methods of …
xedin Dec 16, 2022
07b8367
Merge pull request #62662 from valeriyvan/IRGen-leak
CodaFi Dec 20, 2022
3d36113
Merge pull request #62675 from valeriyvan/SuccessorMap-missing-return
CodaFi Dec 20, 2022
7a593ce
[Sema] Teach `LocalDiscriminatorsRequest` about runtime attribute ini…
xedin Dec 20, 2022
334efb9
[ConstraintSystem] Always pass in a direct instance of OpenPackElemen…
hborla Dec 20, 2022
b8ce899
[Test] Add tests for pack element reprs outside pack expansion expres…
hborla Dec 20, 2022
18fd845
Create begin_borrow in OSSA only
meg-gupta Dec 20, 2022
1ba0462
[Task-to-Thread] Make sure to explicitly initialize the drainLock in
rokhinip Dec 21, 2022
c4cacd1
Merge pull request #62426 from xedin/runtime-discoverable-attrs
xedin Dec 21, 2022
5b2ce0d
Merge pull request #62699 from xedin/type-wrapper-fixes
xedin Dec 21, 2022
a2346db
[ConstraintSystem] Add a getAsTypeRepr helper method for casting ASTN…
hborla Dec 21, 2022
2df72f6
[ConstraintSystem] Strip pack expansions off of pack reference types in
hborla Dec 21, 2022
b977adf
[AST] Add a helper method to PackExpansionExpr that gathers all packs
hborla Dec 21, 2022
5895356
[CSGen] Use PackExpansionExpr::getExpandedPacks to generate ShapeOf c…
hborla Dec 21, 2022
4cf6f79
Merge pull request #62714 from meg-gupta/fixassert
meg-gupta Dec 21, 2022
21b4004
Devirtualizer: don't de-virtualize witness calls to non-generic thunk…
eeckstein Dec 12, 2022
28ee477
Merge pull request #62523 from eeckstein/improve-devirtualizer
eeckstein Dec 21, 2022
8956de4
[ConstraintSystem] Audit remaining arguments for packElementOpener to…
hborla Dec 21, 2022
e966b4e
[CSDiagnostics] Add an error message for pack expansion expressions over
hborla Dec 21, 2022
5087089
ClosureLifetimeFixup: Fix corner case of unconnected basic blocks
aschwaighofer Dec 20, 2022
2d67ab2
[cxx-interop] Import non-member operators as global functions
egorzhdan Dec 20, 2022
42ede18
Merge pull request #62713 from hborla/open-pack-element-type-repr
hborla Dec 21, 2022
f082584
Use the new side effects in CSE
eeckstein Oct 19, 2022
814d890
Use the new side effects in LICM
eeckstein Oct 19, 2022
beb46eb
Use the new escape and side effects in alias analysis
eeckstein Oct 19, 2022
afedd6d
copy required stuff from SideEffectAnalysis to AccessStorageAnalysis
eeckstein Oct 19, 2022
c130273
Remove the old SideEffectAnalysis
eeckstein Oct 19, 2022
75aace0
Remove the old EscapeAnalysis
eeckstein Apr 12, 2022
28493d0
Merge pull request #62716 from apple/eng/PR-103426321-mutex-initializ…
rokhinip Dec 21, 2022
ed630db
Merge pull request #62715 from aschwaighofer/fixup_infinitely
aschwaighofer Dec 21, 2022
0d3504f
Merge pull request #62729 from hborla/pack-diagnostics
hborla Dec 21, 2022
a0c9a54
Merge pull request #62711 from apple/egorzhdan/cxx-non-member-operator
egorzhdan Dec 21, 2022
77527c9
Merge pull request #62043 from augusto2112/demangle-type-in-opaque-ar…
adrian-prantl Dec 21, 2022
62bf6d5
[Test] Disable async_task_cancellation_taskGroup on backdeployed runt…
xymus Dec 22, 2022
004d0b1
Merge pull request #61715 from eeckstein/alias-analysis
eeckstein Dec 22, 2022
da51c04
Two of the macros tests are failing to import SwiftDiagnostics.
al45tair Dec 21, 2022
ef12ec7
COWOpts: fix a crash in case a buffer "escapes" to a cond_br condition
eeckstein Dec 22, 2022
ba36058
Merge pull request #62739 from al45tair/wrangler/PR-103606300
xymus Dec 22, 2022
bb7217e
Merge pull request #62750 from xymus/async_task_cancellation_taskGrou…
xymus Dec 22, 2022
45aea1e
Merge pull request #62685 from Jager-yoo/fix-concurrency-doc
amartini51 Dec 22, 2022
30221a4
Merge pull request #62758 from eeckstein/fix-cowopt
swift-ci Dec 22, 2022
60952b8
Merge pull request #62659 from AnthonyLatsis/xcode-skip-swift-syntax
CodaFi Dec 22, 2022
b97f9d5
Merge remote-tracking branch 'apple/main' into katei/merge-main-2022-…
kateinoigakukun Dec 26, 2022
e0167d1
[wasm] rename `EXPERIMENTAL_STRING_PROCESSING_SOURCE_DIR`
kateinoigakukun Dec 27, 2022
68fd6d9
stdlib: repair 32bit non-Darwin build for TypeLayout
kateinoigakukun Dec 27, 2022
9aed128
Revert "[WASM] Sync calling convention between C++ and Swift"
kateinoigakukun Dec 27, 2022
817153a
test: guard part of stdlib/StaticBigInt.swift for 32-bit at compile-time
kateinoigakukun Dec 27, 2022
6446814
ci: always store sccache
kateinoigakukun Dec 27, 2022
82a18f6
[wasm] add install-swiftsyntax to install swift/host/libSwift*.dylib
kateinoigakukun Dec 28, 2022
3a413c4
[ci] build on container for reproducible build
kateinoigakukun Dec 28, 2022
83f36a3
[wasm] fix Cxx.swiftmodule build on macOS by patching wasi-sysroot
kateinoigakukun Dec 29, 2022
e8f33db
[ci] stop removing essential crt objects from GHA runner
kateinoigakukun Dec 30, 2022
e5d48f9
[ci] unify install-dependencies for each platform
kateinoigakukun Dec 30, 2022
f83f983
[ci] build matrix by script
kateinoigakukun Dec 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ filename =

./utils/80+-check,
./utils/backtrace-check,
./utils/build-parser-lib,
./utils/build-script,
./utils/check-incremental,
./utils/coverage/coverage-build-db,
Expand Down
44 changes: 44 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.
# Order is important. The last matching pattern has the most precedence.

# Owners of ASTGen
lib/ASTGen @zoecarver @CodaFi

# Dependency scanning
include/swift/DependencyScan @artemcm
lib/AST/ModuleLoader.cpp @artemcm
lib/DependencyScan @artemcm
lib/Frontend/ModuleInterfaceLoader.cpp @artemcm
lib/Serialization/SerializedModuleLoader.cpp @artemcm
test/ScanDependencies @artemcm

# Driver
include/swift/Driver @artemcm
lib/Driver @artemcm
test/Driver @artemcm

# Owners of the parser
include/swift/Parse @ahoppen @bnbarham @CodaFi @DougGregor @rintaro
lib/Parse @ahoppen @bnbarham @CodaFi @DougGregor @rintaro
test/Parse @ahoppen @bnbarham @CodaFi @DougGregor @rintaro

SwiftCompilerSources @eeckstein

# C++ Interop
include/swift/ClangImporter @zoecarver @hyp @egorzhdan
include/swift/PrintAsClang @zoecarver @hyp @egorzhdan
lib/ClangImporter @zoecarver @hyp @egorzhdan
lib/PrintAsClang @zoecarver @hyp @egorzhdan
stdlib/public/Cxx @zoecarver @hyp @egorzhdan
test/Interop @zoecarver @hyp @egorzhdan

# Threading implementation
include/swift/Threading @al45tair
lib/Threading @al45tair

# Windows support
cmake/**/*Windows* @compnerd
lib/Basic/Windows @compnerd
stdlib/public/Windows @compnerd
utils/*windows* @compnerd
56 changes: 35 additions & 21 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,44 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
labels: bug, triage needed
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Steps To Reproduce**
Steps to reproduce the behavior:
1.
2.
...
<!--
This repository tracks issues related to the implementation of the Swift
compiler, standard library, runtime, and tools that provide IDE support for
Swift (e.g. code completion). If the bug relates to the implementation of a
proprietary (closed-source) Apple framework such as UIKit, SwiftUI, Combine,
etc., please report it to https://feedbackassistant.apple.com instead.
-->

**Description**
<!-- Describe clearly and concisely what the bug is. -->

**Steps to reproduce**
<!--
Explain how to reproduce the problem (in steps if seen fit) and include either
an inline test case (preferred) or a project that reproduces it. Consider
reducing the sample to the smallest amount of code possible — a smaller test
case is easier to reason about and more appealing to сontributors.
-->

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please fill out the following information)**
- OS: [e.g. macOS 11.0]
- Xcode Version/Tag/Branch:


**Additional context**
Add any other context about the problem here.
<!-- Describe what you expected to happen. -->

<!-- If deemed helpful, add screenshots that showcase the problem. -->
<!-- **Screenshots** -->

<!--
Include information about the Swift compiler version and, if applicable, the
Xcode version you are observing the problem in and the deployment target.
-->
**Environment**
- Swift compiler version info <!-- replace with the output of 'swiftc -version' -->
- Xcode version info <!-- replace with the output of 'xcodebuild -version' -->
- Deployment target: <!-- e.g. iOS 12.3 -->

<!-- Add any other context about the problem as appropriate. -->
<!-- **Additional context** -->
49 changes: 39 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,49 @@
---
name: Feature request
about: Suggest an idea for this project
about: Share an idea
title: ''
labels: New Feature
labels: feature request, triage needed
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
<!--
This repository tracks issues and requests related to the implementation of the
Swift compiler, standard library, runtime, and tools that provide IDE support
for Swift (e.g. code completion). If your feature request relates to the
implementation of a proprietary (closed-source) Apple framework such as UIKit,
SwiftUI, Combine, etc., please report it to https://feedbackassistant.apple.com
instead.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
If you haven't found or started a thread on the Swift forums yet, consider
socializing your idea in the "Discussion" subcategory
(https://forums.swift.org/c/evolution/discuss) after submitting this request.
This is an essential step toward the official review of any proposal concerning
language or library design, and while GitHub issues do great for tracking
purposes, the forums are far better ground for drawing attention to ideas and
gauging interest from the community.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
For more information on how ideas are proposed, discussed, and reviewed, see
https://swift.org/swift-evolution
-->

**Additional context**
Add any other context or screenshots about the feature request here.
**Motivation**
<!-- Describe the problem that your feature seeks to address. -->

**Solution**
<!--
Describe your solution to the problem. Provide examples and describe how
they work.
-->

**Alternatives considered**
<!--
Describe any alternative approaches or features that you have considered in
addressing the problem, and why you chose this approach instead.
-->

<!--
Add any other context about your feature as appropriate. For example, link out
to a discussion on the Swift forums (https://forums.swift.org).
-->
<!-- **Additional context** -->
106 changes: 106 additions & 0 deletions .github/scripts/build-matrix.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
require "json"
require "optparse"

BASE_MATRIX_ENTRIES = [
{
"build_os": "ubuntu-18.04",
"agent_query": "ubuntu-18.04",
"target": "ubuntu18.04_x86_64",
"container": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-18.04",
"run_stdlib_test": true,
"run_full_test": false,
"run_e2e_test": true,
"build_hello_wasm": true,
"clean_build_dir": false,
"free_disk_space": true
},
{
"build_os": "ubuntu-20.04",
"agent_query": "ubuntu-20.04",
"target": "ubuntu20.04_x86_64",
"container": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-20.04",
"run_stdlib_test": true,
"run_full_test": false,
"run_e2e_test": true,
"build_hello_wasm": true,
"clean_build_dir": false,
"free_disk_space": true
},
{
"build_os": "ubuntu-22.04",
"agent_query": "ubuntu-22.04",
"target": "ubuntu22.04_x86_64",
"container": "ghcr.io/swiftwasm/swift-ci:main-ubuntu-22.04",
"run_stdlib_test": true,
"run_full_test": false,
"run_e2e_test": true,
"build_hello_wasm": true,
"clean_build_dir": false,
"free_disk_space": true
},
{
"build_os": "macos-11",
"agent_query": "macos-11",
"target": "macos_x86_64",
"run_stdlib_test": false,
"run_full_test": false,
"run_e2e_test": false,
"build_hello_wasm": false,
"clean_build_dir": false
},
{
"build_os": "macos-11",
"agent_query": ["self-hosted", "macOS", "ARM64"],
"target": "macos_arm64",
"run_stdlib_test": false,
"run_full_test": false,
"run_e2e_test": false,
"build_hello_wasm": true,
"clean_build_dir": true
}
]

def main
options = {}
OptionParser.new do |opts|
opts.banner = "Usage: build-matrix.rb [options]"
opts.on("--runner [JSON FILE]", "Path to runner data file") do |v|
options[:runner] = v
end
end.parse!

matrix_entries = BASE_MATRIX_ENTRIES.dup
if options[:runner]
runner = JSON.parse(File.read(options[:runner]))
if label = runner["outputs"]["ubuntu20_04_aarch64-label"]
matrix_entries << {
"build_os": "amazon-linux-2",
"agent_query": label,
"target": "amazonlinux2_x86_64",
"run_stdlib_test": false,
"run_full_test": false,
"run_e2e_test": false,
"build_hello_wasm": true,
"clean_build_dir": false
}
end
if label = runner["outputs"]["ubuntu20_04_aarch64-label"]
matrix_entries << {
"build_os": "ubuntu-20.04",
"agent_query": label,
"target": "ubuntu20.04_aarch64",
"run_stdlib_test": false,
"run_full_test": false,
"run_e2e_test": false,
"build_hello_wasm": true,
"clean_build_dir": false
}
end
end

print JSON.generate(matrix_entries)
end

if $0 == __FILE__
main
end
Loading