Skip to content

Commit 787eaa3

Browse files
Merge pull request #2186 from practicalswift/gardening-20160414b
[gardening] Fix file header formatting, fix recently introduced typos: "transistive" → "transitive" & "modelled" → "modeled"
2 parents 7ff15dd + 9cbfddb commit 787eaa3

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

include/swift/Runtime/Portability.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- Portability.h -----------------------------------------*- C++ -*-===//
1+
//===--- Portability.h ------------------------------------------*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//
@@ -20,4 +20,4 @@
2020

2121
size_t _swift_strlcpy(char *dst, const char *src, size_t maxlen);
2222

23-
#endif
23+
#endif

include/swift/SILOptimizer/Utils/Local.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ bool isInstructionTriviallyDead(SILInstruction *I);
7777
bool isIntermediateRelease(SILInstruction *I,
7878
ConsumedArgToEpilogueReleaseMatcher &ERM);
7979

80-
/// \brief Recursively collect all the uses and transistive uses of the
80+
/// \brief Recursively collect all the uses and transitive uses of the
8181
/// instruction.
8282
void collectUsesOfValue(SILValue V, llvm::DenseSet<SILInstruction *> &Insts);
8383

lib/Serialization/DeserializeSIL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ SILFunction *SILDeserializer::lookupSILFunction(SILFunction *InFunc) {
17991799
}
18001800

18011801
/// Check for existence of a function with a given name and required linkage.
1802-
/// This function is modelled after readSILFunction. But it does not
1802+
/// This function is modeled after readSILFunction. But it does not
18031803
/// create a SILFunction object.
18041804
bool SILDeserializer::hasSILFunction(StringRef Name,
18051805
SILLinkage Linkage) {

stdlib/private/SwiftPrivateLibcExtras/Subprocess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- Subprocess.cpp - Subprocess Stubs --------------------------------===//
1+
//===--- Subprocess.c - Subprocess Stubs ----------------------------------===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

stdlib/public/runtime/Portability.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- Portability.cpp - -----------------------------------------------===//
1+
//===--- Portability.cpp - ------------------------------------------------===//
22
//
33
// This source file is part of the Swift.org open source project
44
//
@@ -8,11 +8,11 @@
88
// See http://swift.org/LICENSE.txt for license information
99
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1010
//
11-
//===---------------------------------------------------------------------===//
11+
//===----------------------------------------------------------------------===//
1212
//
1313
// Implementations of the stub APIs that make portable runtime easier to write.
1414
//
15-
//===---------------------------------------------------------------------===//
15+
//===----------------------------------------------------------------------===//
1616

1717
#include "swift/Runtime/Portability.h"
1818
#include <cstring>

0 commit comments

Comments
 (0)