[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:
Kosuke Ogawa
2017-07-29 02:14:21 +09:00
committed by Robert Widmann
parent fa2f2bd457
commit 2a18723b55
8 changed files with 10 additions and 10 deletions

View File

@@ -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 {