Skip to content

Commit adc75d6

Browse files
[gardening] Add "// end anonymous namespace" where appropriate
1 parent 83f2503 commit adc75d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/IRGen/AllocStackHoisting.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class Partition {
8585
/// non-overlapping.
8686
void assignStackLocation(SmallVectorImpl<SILInstruction *> &FunctionExits);
8787
};
88-
} // end anonymous namespace.
88+
} // end anonymous namespace
8989

9090
/// Erases all dealloc_stack users of an alloc_stack
9191
static void eraseDeallocStacks(AllocStackInst *AllocStack) {
@@ -213,7 +213,7 @@ class Liveness {
213213
return false;
214214
}
215215
};
216-
} // end anonymous namespace.
216+
} // end anonymous namespace
217217

218218
namespace {
219219
/// Merge alloc_stack instructions.
@@ -237,7 +237,7 @@ class MergeStackSlots {
237237
/// block.
238238
void mergeSlots();
239239
};
240-
} // end anonymous namespace.
240+
} // end anonymous namespace
241241

242242
MergeStackSlots::MergeStackSlots(SmallVectorImpl<AllocStackInst *> &AllocStacks,
243243
SmallVectorImpl<SILInstruction *> &FuncExits)
@@ -339,7 +339,7 @@ class HoistAllocStack {
339339
/// Move the hoistable alloc_stack instructions to the entry block.
340340
void hoist();
341341
};
342-
}
342+
} // end anonymous namespace
343343

344344
/// Collect generic alloc_stack instructions in the current function can be
345345
/// hoisted.

lib/Sema/InstrumenterSupport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ErrorFinder : public ASTWalker {
6767
}
6868
bool hadError() { return error; }
6969
};
70-
}
70+
} // end anonymous namespace
7171

7272
void InstrumenterBase::anchor() {}
7373

0 commit comments

Comments
 (0)