[llvm] r289610 - llvm-cat: Allow bitcode files to be created with no modules.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 15:14:55 PST 2016


Author: pcc
Date: Tue Dec 13 17:14:55 2016
New Revision: 289610

URL: http://llvm.org/viewvc/llvm-project?rev=289610&view=rev
Log:
llvm-cat: Allow bitcode files to be created with no modules.

Modified:
    llvm/trunk/tools/llvm-cat/llvm-cat.cpp

Modified: llvm/trunk/tools/llvm-cat/llvm-cat.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-cat/llvm-cat.cpp?rev=289610&r1=289609&r2=289610&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-cat/llvm-cat.cpp (original)
+++ llvm/trunk/tools/llvm-cat/llvm-cat.cpp Tue Dec 13 17:14:55 2016
@@ -28,7 +28,7 @@ static cl::opt<std::string> OutputFilena
                                            cl::desc("Output filename"),
                                            cl::value_desc("filename"));
 
-static cl::list<std::string> InputFilenames(cl::Positional, cl::OneOrMore,
+static cl::list<std::string> InputFilenames(cl::Positional, cl::ZeroOrMore,
                                             cl::desc("<input  files>"));
 
 int main(int argc, char **argv) {




More information about the llvm-commits mailing list