summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CompilerDriver/Main.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-02-23 09:04:28 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-02-23 09:04:28 +0000
commitebf8fbbb8fdfa66198158fbcf62cee0c3012e8b7 (patch)
tree417815d39a9d3281bc30e9349727336ab71ca294 /llvm/lib/CompilerDriver/Main.cpp
parent23cce8188bf4d14cd5b5ca37b5196f2cf7c620d7 (diff)
downloadbcm5719-llvm-ebf8fbbb8fdfa66198158fbcf62cee0c3012e8b7.tar.gz
bcm5719-llvm-ebf8fbbb8fdfa66198158fbcf62cee0c3012e8b7.zip
New experimental/undocumented feature: 'works_on_empty'.
For now, just enough support to make -filelist work. llvm-svn: 96918
Diffstat (limited to 'llvm/lib/CompilerDriver/Main.cpp')
-rw-r--r--llvm/lib/CompilerDriver/Main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CompilerDriver/Main.cpp b/llvm/lib/CompilerDriver/Main.cpp
index 3a3487a0a9c..96877077cc8 100644
--- a/llvm/lib/CompilerDriver/Main.cpp
+++ b/llvm/lib/CompilerDriver/Main.cpp
@@ -126,10 +126,6 @@ int Main(int argc, char** argv) {
return 0;
}
- if (InputFilenames.empty()) {
- throw std::runtime_error("no input files");
- }
-
if (Time) {
GlobalTimeLog = new std::stringstream;
GlobalTimeLog->precision(2);
OpenPOWER on IntegriCloud