mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Fix inconsistent formatting.
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user