Fix a vs. an

This commit is contained in:
practicalswift
2015-12-26 14:40:16 +01:00
parent f0053a0839
commit 85e2e6eb9a
12 changed files with 13 additions and 13 deletions

View File

@@ -420,7 +420,7 @@ static bool isKnownEdgeValue(TermInst *Term, SILBasicBlock *SuccBB,
return SuccBB->getSinglePredecessor() != nullptr;
}
/// Create a enum element by extracting the operand of a switch_enum.
/// Create an enum element by extracting the operand of a switch_enum.
static SILInstruction *createEnumElement(SILBuilder &Builder,
SwitchEnumInst *SEI,
EnumElementDecl *EnumElement) {
@@ -2190,7 +2190,7 @@ static SILBasicBlock *isObjCMethodCallBlock(SILBasicBlock &Block) {
return nullptr;
for (auto &Inst : Block) {
// Look for a objc method call.
// Look for an objc method call.
auto *Apply = dyn_cast<ApplyInst>(&Inst);
if (!Apply)
continue;