mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[gardening] Fix typos (#11245)
* [Gardening] Fix typo: getTopLeveDecls -> getTopLevelDecls
* [Gardening] Fix typo: silModue -> silModule
* [Gardening] Fix typo: Evaludate -> Evaluate
* [Gardening] Fix typo: OptioanlPayload -> OptionalPayload
* [Gardening] Fix typo: confromance -> conformance
* [Gardening] Fix typos
* [Gardening] Fix typo: tpye -> type
* [Gardening] Fix typo: resoved -> resolved
* [Gardening] Fix typo: ahve -> have
* Revert "[Gardening] Fix typo: silModue -> silModule"
This reverts commit ed8c4d0b71.
This commit is contained in:
committed by
Robert Widmann
parent
fa2f2bd457
commit
2a18723b55
@@ -494,7 +494,7 @@ void swift::ide::printSubmoduleInterface(
|
||||
});
|
||||
|
||||
// If the group name is specified, we sort them according to their source order,
|
||||
// which is the order preserved by getTopLeveDecls.
|
||||
// which is the order preserved by getTopLevelDecls.
|
||||
if (GroupNames.empty()) {
|
||||
std::sort(SwiftDecls.begin(), SwiftDecls.end(),
|
||||
[&](Decl *LHS, Decl *RHS) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user