[llvm] r305209 - [llvm-ar] Fix AddNewMember typo in enum
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 10:44:42 PDT 2017
Author: rnk
Date: Mon Jun 12 12:44:42 2017
New Revision: 305209
URL: http://llvm.org/viewvc/llvm-project?rev=305209&view=rev
Log:
[llvm-ar] Fix AddNewMember typo in enum
Modified:
llvm/trunk/tools/llvm-ar/llvm-ar.cpp
Modified: llvm/trunk/tools/llvm-ar/llvm-ar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/llvm-ar.cpp?rev=305209&r1=305208&r2=305209&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ar/llvm-ar.cpp (original)
+++ llvm/trunk/tools/llvm-ar/llvm-ar.cpp Mon Jun 12 12:44:42 2017
@@ -494,7 +494,7 @@ static void addMember(std::vector<NewArc
enum InsertAction {
IA_AddOldMember,
- IA_AddNewMeber,
+ IA_AddNewMember,
IA_Delete,
IA_MoveOldMember,
IA_MoveNewMember
@@ -526,7 +526,7 @@ static InsertAction computeInsertAction(
StringRef PosName = sys::path::filename(RelPos);
if (!OnlyUpdate) {
if (PosName.empty())
- return IA_AddNewMeber;
+ return IA_AddNewMember;
return IA_MoveNewMember;
}
@@ -543,7 +543,7 @@ static InsertAction computeInsertAction(
}
if (PosName.empty())
- return IA_AddNewMeber;
+ return IA_AddNewMember;
return IA_MoveNewMember;
}
llvm_unreachable("No such operation");
@@ -580,7 +580,7 @@ computeNewArchiveMembers(ArchiveOperatio
case IA_AddOldMember:
addMember(Ret, Child);
break;
- case IA_AddNewMeber:
+ case IA_AddNewMember:
addMember(Ret, *MemberI);
break;
case IA_Delete:
More information about the llvm-commits
mailing list