Skip to content

Commit f679802

Browse files
Merge pull request #2152 from practicalswift/gardening-20160412
[gardening] Fix file header formatting. Fix recently introduced typo: "specifiy" → "specify". Fix code formatting.
2 parents 637db88 + ba6c0f8 commit f679802

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

include/swift/SwiftRemoteMirror/SwiftRemoteMirrorTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- SwiftRemoteMirrorTypes.h - Remote reflection types -*- C++ -*-----===//
1+
//===--- SwiftRemoteMirrorTypes.h - Remote reflection types -----*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

lib/Sema/CSApply.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ namespace {
368368
/// \param variadicArgs The source indices that are mapped to the variadic
369369
/// parameter of the resulting tuple, as provided by \c computeTupleShuffle.
370370
///
371-
/// \param typeFromPattern Optionally, the caller can specifiy the pattern
371+
/// \param typeFromPattern Optionally, the caller can specify the pattern
372372
/// from where the toType is derived, so that we can deliver better fixit.
373373
Expr *coerceTupleToTuple(Expr *expr, TupleType *fromTuple,
374374
TupleType *toTuple,
@@ -1088,7 +1088,7 @@ namespace {
10881088
/// \param expr The expression to coerce.
10891089
/// \param toType The type to coerce the expression to.
10901090
/// \param locator Locator used to describe where in this expression we are.
1091-
/// \param typeFromPattern Optionally, the caller can specifiy the pattern
1091+
/// \param typeFromPattern Optionally, the caller can specify the pattern
10921092
/// from where the toType is derived, so that we can deliver better fixit.
10931093
///
10941094
/// \returns the coerced expression, which will have type \c ToType.
@@ -3691,7 +3691,7 @@ shouldApplyAddingLabelFixit(TuplePattern *tuplePattern, TupleType *fromTuple,
36913691
patternParts.push_back(tuplePattern);
36923692
fromParts.push_back(fromTuple);
36933693
toParts.push_back(toTuple);
3694-
while(!patternParts.empty()) {
3694+
while (!patternParts.empty()) {
36953695
TuplePattern *curPattern = patternParts.back();
36963696
TupleType *curFrom = fromParts.back();
36973697
TupleType *curTo = toParts.back();

lib/Sema/ConstraintSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ class Solution {
615615
/// on a suspicious top-level optional injection (because the caller already
616616
/// diagnosed it).
617617
///
618-
/// \param typeFromPattern Optionally, the caller can specifiy the pattern
618+
/// \param typeFromPattern Optionally, the caller can specify the pattern
619619
/// from where the toType is derived, so that we can deliver better fixit.
620620
///
621621
/// \returns the coerced expression, which will have type \c ToType.

lib/Sema/TypeChecker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ class TypeChecker final : public LazyResolver {
13391339
///
13401340
/// \param expr The expression, which will be updated in place.
13411341
/// \param type The type to convert to.
1342-
/// \param typeFromPattern Optionally, the caller can specifiy the pattern
1342+
/// \param typeFromPattern Optionally, the caller can specify the pattern
13431343
/// from where the toType is derived, so that we can deliver better fixit.
13441344
///
13451345
/// \returns true if an error occurred, false otherwise.

0 commit comments

Comments
 (0)