Skip to content

Commit b6239b8

Browse files
authored
[docs] Update links to repositories moved to https://github.com/swiftlang/
1 parent 71c27a9 commit b6239b8

39 files changed

+184
-184
lines changed

Diff for: docs/ABIStabilityManifesto.md

+41-41
Large diffs are not rendered by default.

Diff for: docs/AccessControl.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ framework module.
2626
_**Warning**_
2727

2828
This document has not yet been updated for
29-
[SE-0117](https://github.com/apple/swift-evolution/blob/main/proposals/0117-non-public-subclassable-by-default.md),
29+
[SE-0117](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0117-non-public-subclassable-by-default.md),
3030
which adds the \"open\" level of access.
3131

3232
## Rules

Diff for: docs/Android.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ device running Android or an emulator. This guide explains:
88
2. How to run the Swift test suite on an Android device.
99

1010
If you encounter any problems following the instructions below, please
11-
[file an issue](https://github.com/apple/swift/issues) and apply the "Android"
11+
[file an issue](https://github.com/swiftlang/swift/issues) and apply the "Android"
1212
label.
1313

1414
## FAQ

Diff for: docs/Branches.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,6 @@ Some branches are *automerged* into other branches, to keep them in sync. This i
9393
To update the Branch/Tag requirements, please follow these steps:
9494

9595
1. Create pull requests to update the branch/tag in the following repositories:
96-
- in `apple/swift` modify [`update-checkout-config.json`](https://github.com/apple/swift/blob/main/utils/update_checkout/update-checkout-config.json)
97-
- in `apple/swift-source-compat-suite` repository modify [`common.py`](https://github.com/apple/swift-source-compat-suite/blob/main/common.py)
96+
- in `swiftlang/swift` modify [`update-checkout-config.json`](https://github.com/swiftlang/swift/blob/main/utils/update_checkout/update-checkout-config.json)
97+
- in `swiftlang/swift-source-compat-suite` repository modify [`common.py`](https://github.com/swiftlang/swift-source-compat-suite/blob/main/common.py)
9898
1. Notify @shahmishal after creating the pull requests

Diff for: docs/ContinuousIntegration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ These commands will:
244244
3. Compare the obtained data to the baseline (stored in git) and HEAD (version of a compiler built without the PR changes)
245245
4. Report the results in a pull request comment
246246

247-
For the detailed explanation of how compiler performance is measured, please refer to [this document](https://github.com/apple/swift/blob/main/docs/CompilerPerformance.md).
247+
For the detailed explanation of how compiler performance is measured, please refer to [this document](https://github.com/swiftlang/swift/blob/main/docs/CompilerPerformance.md).
248248

249249
## Cross Repository Testing
250250

@@ -254,7 +254,7 @@ For example:
254254

255255
```
256256
Please test with following pull request:
257-
https://github.com/apple/swift/pull/4574
257+
https://github.com/swiftlang/swift/pull/4574
258258
259259
@swift-ci Please test Linux platform
260260
```

Diff for: docs/CppInteroperability/CppInteroperabilityManifesto.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# ⚠️ Warning: document is out of date. ⚠️
44

5-
**This document has not had significant updates in the last three years. The goals and design outlined here do not necessarily reflect those established by the C++ Interop Work Group. For an up-to-date document, please see [the Forward Vision document](https://github.com/apple/swift-evolution/blob/main/visions/using-swift-from-c%2B%2B.md).**
5+
**This document has not had significant updates in the last three years. The goals and design outlined here do not necessarily reflect those established by the C++ Interop Work Group. For an up-to-date document, please see [the Forward Vision document](https://github.com/swiftlang/swift-evolution/blob/main/visions/using-swift-from-c%2B%2B.md).**
66

77
[** ‼️ Additionally, the official C++ interoperability documentation is live at Swift.org and provides an up-to-date guide for mixing Swift and C++ ‼️ **](https://www.swift.org/documentation/cxx-interop/)
88

@@ -280,7 +280,7 @@ func caller() {
280280
To understand the constraints that Swift puts on `inout` parameters, let's take
281281
a look at the mental model for introduced in the [Ownership
282282
manifesto](OwnershipManifesto.md) and in [SE-0176 Enforce Exclusive Access to
283-
Memory](https://github.com/apple/swift-evolution/blob/main/proposals/0176-enforce-exclusive-access-to-memory.md).
283+
Memory](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0176-enforce-exclusive-access-to-memory.md).
284284
When the caller binds a storage reference to an `inout` parameter, it starts a
285285
non-instantaneous access to the whole value that occupies the storage. This
286286
access ends when the callee returns. Overlapping accesses are not allowed, and
@@ -1810,7 +1810,7 @@ dynamically, some are undefined behavior.
18101810

18111811
The backdoors are disallowed by the exclusivity rule (from [SE-0176 Enforce
18121812
Exclusive Access to
1813-
Memory](https://github.com/apple/swift-evolution/blob/main/proposals/0176-enforce-exclusive-access-to-memory.md)):
1813+
Memory](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0176-enforce-exclusive-access-to-memory.md)):
18141814

18151815
> two accesses to the same variable are not allowed to overlap unless both
18161816
> accesses are reads
@@ -2881,7 +2881,7 @@ struct MyCxxCollection {
28812881

28822882
Swift has an equivalent for C++'s `operator()`: `callAsFunction` (introduced in
28832883
[SE-0253: Callable values of user-defined nominal
2884-
types](https://github.com/apple/swift-evolution/blob/main/proposals/0253-callable.md)).
2884+
types](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0253-callable.md)).
28852885

28862886
```c++
28872887
// C++ header.
@@ -3476,7 +3476,7 @@ A sidecar annotation file allows to add arbitrary attributes to declarations
34763476
parsed from a header file. You can find examples of such files in the [apinotes
34773477
directory](../apinotes). APINotes files
34783478
are handled by the [APINotes library in
3479-
Clang](https://github.com/apple/llvm-project/tree/apple/main/clang/lib/APINotes).
3479+
Clang](https://github.com/swiftlang/llvm-project/tree/apple/main/clang/lib/APINotes).
34803480
Clang reads an APINotes file alongside the header file; Clang injects attributes
34813481
specified by APINotes into the AST parsed from the header.
34823482

Diff for: docs/CppInteroperability/CppInteroperabilityStatus.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ This status table describes which of the following C++ language features can be
7777
| Typedefs / Type aliases | Yes |
7878
| Global Variables | Yes |
7979
| Namespaces | Yes |
80-
| Inline Namespaces | Yes, with some known issues ([#58217](https://github.com/apple/swift/issues/58217)) |
80+
| Inline Namespaces | Yes, with some known issues ([#58217](https://github.com/swiftlang/swift/issues/58217)) |
8181
| Exceptions | No. Uncaught exceptions that propagate into Swift frames are UB. |
8282
| Fields | Yes |
8383
| Member functions | Yes. Some value category overloads aren't imported |
@@ -121,7 +121,7 @@ This status table describes which of the following C++ standard library features
121121
## Known Issues
122122

123123
### Inline Namespaces
124-
- [#58217](https://github.com/apple/swift/issues/58217): Swift's typechecker currently doesn't allow calling a function from an inline namespace when it's referenced through the parent namespace. Example of a test that fails: https://github.com/apple/swift/blob/main/test/Interop/Cxx/namespace/inline-namespace-function-call-broken.swift
124+
- [#58217](https://github.com/swiftlang/swift/issues/58217): Swift's typechecker currently doesn't allow calling a function from an inline namespace when it's referenced through the parent namespace. Example of a test that fails: https://github.com/swiftlang/swift/blob/main/test/Interop/Cxx/namespace/inline-namespace-function-call-broken.swift
125125

126126

127127
## Swift to C++ Interoperability Status

Diff for: docs/CppInteroperability/GettingStartedWithC++Interop.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,6 @@ CxxInterop.main()
195195
- To generate an Xcode project run `cmake -GXcode`
196196
- To generate with Ninja run `cmake -GNinja`
197197

198-
- For more information on `cmake` see the 'GettingStarted' documentation: (https://github.com/apple/swift/blob/main/docs/HowToGuides/GettingStarted.md)
198+
- For more information on `cmake` see the 'GettingStarted' documentation: (https://github.com/swiftlang/swift/blob/main/docs/HowToGuides/GettingStarted.md)
199199

200200

Diff for: docs/DebuggingTheCompiler.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ For more information and a high level example, see:
830830

831831
When bisecting it might be necessary to run the `update-checkout` script
832832
each time you change shas. To do this you can pass `--match-timestamp`
833-
to automatically checkout match the timestamp of the `apple/swift` repo
833+
to automatically checkout match the timestamp of the `swiftlang/swift` repo
834834
across the other repos.
835835

836836
## Disabling PCH Verification
@@ -859,7 +859,7 @@ such configuration.
859859
# Debugging the Compiler Driver
860860

861861
The Swift compiler uses a standalone compiler-driver application written in
862-
Swift: [swift-driver](https://github.com/apple/swift-driver). When building the
862+
Swift: [swift-driver](https://github.com/swiftlang/swift-driver). When building the
863863
compiler using `build-script`, by default, the standalone driver will be built
864864
first, using the host toolchain, if the host toolchain contains a Swift
865865
compiler. If the host toolchain does not contain Swift, a warning is emitted and
@@ -870,7 +870,7 @@ is updated with a symlink to the standalone driver, ensuring calls to the build
870870
directory's `swift` and `swiftc` always forward to the standalone driver.
871871

872872
For more information about the driver, see:
873-
[github.com/apple/swift-driver/blob/main/README.md](https://github.com/apple/swift-driver/blob/main/README.md)
873+
[github.com/swiftlang/swift-driver/blob/main/README.md](https://github.com/swiftlang/swift-driver/blob/main/README.md)
874874

875875
## Swift Compiler Driver F.A.Q.
876876
> What's the difference between invoking 'swiftc' vs. 'swift-driver' at the top
@@ -883,7 +883,7 @@ by examining the invoked program's name. The compiler frontend can be invoked
883883
directly by invoking the `swift-frontend` executable, or passing in the
884884
`-frontend` option to `swiftc`.
885885

886-
The standalone [Compiler Driver](https://github.com/apple/swift-driver) is
886+
The standalone [Compiler Driver](https://github.com/swiftlang/swift-driver) is
887887
installed as a separate `swift-driver` executable in the Swift toolchain's `bin`
888888
directory. When a user launches the compiler by invoking `swiftc`, the C++ based
889889
compiler executable forwards the invocation to the `swift-driver` executable if
@@ -905,7 +905,7 @@ become symbolic links to the `swift-driver` executable directly.
905905
> Will 'swiftc ... -###' always print the same set of commands for the old/new
906906
driver? Do they call 'swift-frontend' the same way?
907907

908-
The standalone [Compiler Driver](https://github.com/apple/swift-driver) is meant
908+
The standalone [Compiler Driver](https://github.com/swiftlang/swift-driver) is meant
909909
to be a direct drop-in replacement for the C++-based legacy driver. It has the
910910
exact same command-line interface. The expectation is that its behaviour closely
911911
matches the legacy driver; however, during, and after the transition to the new

Diff for: docs/Diagnostics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Educational notes should:
110110
Adding new educational notes is a great way to get familiar with the process of contributing to Swift, while also making a big impact!
111111

112112
To add a new educational note:
113-
1. Follow the [directions in the README](https://github.com/apple/swift#getting-sources-for-swift-and-related-projects) to checkout the Swift sources locally. Being able to build the Swift compiler is recommended, but not required, when contributing a new note.
113+
1. Follow the [directions in the README](https://github.com/swiftlang/swift#getting-sources-for-swift-and-related-projects) to checkout the Swift sources locally. Being able to build the Swift compiler is recommended, but not required, when contributing a new note.
114114
2. Identify a diagnostic to write an educational note for. To associate an educational note with a diagnostic name, you'll need to know its internal identifier. The easiest way to do this is to write a small program which triggers the diagnostic, and run it using the `-debug-diagnostic-names` compiler flag. This flag will cause the internal diagnostic identifier to be printed after the diagnostic message in square brackets.
115115
3. Find any closely related diagnostics. Sometimes, what appears to be one diagnostic from a user's perspective may have multiple variations internally. After determining a diagnostic's internal identifier, run a search for it in the compiler source. You should find:
116116
- An entry in a `Diagnostics*.def` file describing the diagnostic. If there are any closely related diagnostics the note should also be attached to, they can usually be found nearby.

0 commit comments

Comments
 (0)