]> granicus.if.org Git - llvm/commitdiff
llvm-cat: Allow bitcode files to be created with no modules.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 23:14:55 +0000 (23:14 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 23:14:55 +0000 (23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289610 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-cat/llvm-cat.cpp

index 439709311d4ad6c948bc013058cbe2b328f159d7..d884970309b44d9a4386aad9a0b573d8e8fc91cb 100644 (file)
@@ -28,7 +28,7 @@ static cl::opt<std::string> OutputFilename("o", cl::Required,
                                            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) {