[gardening] Fix inconsistent formatting.

This commit is contained in:
practicalswift
2016-06-04 00:37:15 +02:00
parent 288788920c
commit 57bccc8b06
13 changed files with 28 additions and 28 deletions

View File

@@ -182,7 +182,7 @@ public:
return;
auto &Parent = Parents.back();
for (auto CIT = std::find(Parent->child_begin(), Parent->child_end(), C) + 1;
CIT != Parent->child_end(); CIT ++) {
CIT != Parent->child_end(); CIT++) {
if (auto TC = dyn_cast<TextComment>(*CIT)) {
auto Text = TC->getText();
std::vector<StringRef> Subs;
@@ -751,7 +751,7 @@ void CodeCompletionResult::print(raw_ostream &OS) const {
Prefix.append(KW);
Prefix.append(Sep);
}
for (unsigned I = 0, N = Sep.size(); I < N; ++ I)
for (unsigned I = 0, N = Sep.size(); I < N; ++I)
Prefix.pop_back();
Prefix.append("]");
}
@@ -1413,7 +1413,7 @@ ArchetypeTransformer::ArchetypeTransformer(DeclContext *DC, Type Ty) :
auto Params = D->getInnermostGenericParamTypes();
auto Args = BaseTy->getAllGenericArgs(Scrach);
assert(Params.size() == Args.size());
for (unsigned I = 0, N = Params.size(); I < N; I ++) {
for (unsigned I = 0, N = Params.size(); I < N; I++) {
Map[Params[I]->getCanonicalType()->castTo<GenericTypeParamType>()] = Args[I];
}
}