Actually parse q operation in llvm-ar
authorSeo Sanghyeon <sanxiyn@gmail.com>
Tue, 25 Dec 2007 13:53:47 +0000 (13:53 +0000)
committerSeo Sanghyeon <sanxiyn@gmail.com>
Tue, 25 Dec 2007 13:53:47 +0000 (13:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45353 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-ar/llvm-ar.cpp

index 1df8a92..b885a8a 100644 (file)
@@ -188,6 +188,7 @@ ArchiveOperation parseCommandLine() {
     case 'd': ++NumOperations; Operation = Delete; break;
     case 'm': ++NumOperations; Operation = Move ; break;
     case 'p': ++NumOperations; Operation = Print; break;
+    case 'q': ++NumOperations; Operation = QuickAppend; break;
     case 'r': ++NumOperations; Operation = ReplaceOrInsert; break;
     case 't': ++NumOperations; Operation = DisplayTable; break;
     case 'x': ++NumOperations; Operation = Extract; break;