Skip to content

Commit c71fbdd

Browse files
Quinn PhamQuinn Pham
authored andcommitted
[NFC] Inclusive language: Remove instances of master in URLs
[NFC] This patch fixes URLs containing "master". Old URLs were either broken or redirecting to the new URL. Reviewed By: #libc, ldionne, mehdi_amini Differential Revision: https://reviews.llvm.org/D113186
1 parent f2703c3 commit c71fbdd

File tree

34 files changed

+49
-49
lines changed

34 files changed

+49
-49
lines changed

clang-tools-extra/clangd/Protocol.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// This file contains structs based on the LSP specification at
10-
// https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md
10+
// https://github.com/Microsoft/language-server-protocol/blob/main/protocol.md
1111
//
1212
// This is not meant to be a complete implementation, new interfaces are added
1313
// when they're needed.
@@ -1172,7 +1172,7 @@ enum class InsertTextFormat {
11721172
/// typing in one will update others too.
11731173
///
11741174
/// See also:
1175-
/// https//github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/snippet/common/snippet.md
1175+
/// https://github.com/Microsoft/vscode/blob/main/src/vs/editor/contrib/snippet/snippet.md
11761176
Snippet = 2,
11771177
};
11781178

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ the configuration (without a prefix: ``Auto``).
149149
<https://google.github.io/styleguide/cppguide.html>`_
150150
* ``Chromium``
151151
A style complying with `Chromium's style guide
152-
<https://chromium.googlesource.com/chromium/src/+/master/styleguide/styleguide.md>`_
152+
<https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/styleguide.md>`_
153153
* ``Mozilla``
154154
A style complying with `Mozilla's style guide
155155
<https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style>`_

clang/docs/LibFormat.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ several style guides are hard-coded:
5353
FormatStyle getGoogleStyle();
5454

5555
/// Returns a format style complying with Chromium's style guide:
56-
/// https://chromium.googlesource.com/chromium/src/+/master/styleguide/styleguide.md
56+
/// https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/styleguide.md
5757
FormatStyle getChromiumStyle();
5858

5959
/// Returns a format style complying with the GNU coding standards:

clang/docs/UsersManual.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3139,7 +3139,7 @@ extension should use reserved identifier prefix e.g. amd, arm, intel.
31393139

31403140
Clang also supports language extensions documented in `The OpenCL C Language
31413141
Extensions Documentation
3142-
<https://github.com/KhronosGroup/Khronosdotorg/blob/master/api/opencl/assets/OpenCL_LangExt.pdf>`_.
3142+
<https://github.com/KhronosGroup/Khronosdotorg/blob/main/api/opencl/assets/OpenCL_LangExt.pdf>`_.
31433143

31443144
OpenCL-Specific Attributes
31453145
--------------------------

clang/lib/AST/ItaniumMangle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3572,7 +3572,7 @@ void CXXNameMangler::mangleAArch64NeonVectorType(const DependentVectorType *T) {
35723572
// mangling scheme, it will be specified in the next revision. The mangling
35733573
// scheme is otherwise defined in the appendices to the Procedure Call Standard
35743574
// for the Arm Architecture, see
3575-
// https://github.com/ARM-software/abi-aa/blob/master/aapcs64/aapcs64.rst#appendix-c-mangling
3575+
// https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#appendix-c-mangling
35763576
void CXXNameMangler::mangleAArch64FixedSveVectorType(const VectorType *T) {
35773577
assert((T->getVectorKind() == VectorType::SveFixedLengthDataVector ||
35783578
T->getVectorKind() == VectorType::SveFixedLengthPredicateVector) &&

clang/lib/Format/Format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) {
13861386
ChromiumStyle.ContinuationIndentWidth = 8;
13871387
ChromiumStyle.IndentWidth = 4;
13881388
// See styleguide for import groups:
1389-
// https://chromium.googlesource.com/chromium/src/+/master/styleguide/java/java.md#Import-Order
1389+
// https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/java/java.md#Import-Order
13901390
ChromiumStyle.JavaImportGroups = {
13911391
"android",
13921392
"androidx",

clang/lib/Format/FormatToken.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ struct AdditionalKeywords {
10601060
bool IsJavaScriptIdentifier(const FormatToken &Tok,
10611061
bool AcceptIdentifierName = true) const {
10621062
// Based on the list of JavaScript & TypeScript keywords here:
1063-
// https://github.com/microsoft/TypeScript/blob/master/src/compiler/scanner.ts#L74
1063+
// https://github.com/microsoft/TypeScript/blob/main/src/compiler/scanner.ts#L74
10641064
switch (Tok.Tok.getKind()) {
10651065
case tok::kw_break:
10661066
case tok::kw_case:

clang/lib/Format/TokenAnnotator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4061,7 +4061,7 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine &Line,
40614061
Keywords.kw_interface, Keywords.kw_type, Keywords.kw_var,
40624062
Keywords.kw_let, tok::kw_const))
40634063
// See grammar for 'declare' statements at:
4064-
// https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#A.10
4064+
// https://github.com/Microsoft/TypeScript/blob/main/doc/spec-ARCHIVED.md#A.10
40654065
return false;
40664066
if (Left.isOneOf(Keywords.kw_module, tok::kw_namespace) &&
40674067
Right.isOneOf(tok::identifier, tok::string_literal))

clang/test/OpenMP/aarch64_vfabi_NarrowestDataSize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Note: -fopemp and -fopenmp-simd behavior are expected to be the same.
66

77
// This test checks the values of Narrowest Data Size (NDS), as defined in
8-
// https://github.com/ARM-software/abi-aa/tree/master/vfabia64
8+
// https://github.com/ARM-software/abi-aa/tree/main/vfabia64
99
//
1010
// NDS is used to compute the <vlen> token in the name of AdvSIMD
1111
// vector functions when no `simdlen` is specified, with the rule:

clang/test/OpenMP/aarch64_vfabi_WidestDataSize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Note: -fopemp and -fopenmp-simd behavior are expected to be the same.
66

77
// This test checks the values of Widest Data Size (WDS), as defined
8-
// in https://github.com/ARM-software/abi-aa/tree/master/vfabia64
8+
// in https://github.com/ARM-software/abi-aa/tree/main/vfabia64
99
//
1010
// WDS is used to check the accepted values <N> of `simdlen(<N>)` when
1111
// targeting fixed-length SVE vector function names. The values of

0 commit comments

Comments
 (0)