aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitf37e049673053555ee04cd9acabe77f3984a04bb (patch)
tree3006b1eabe59ac0a33431d2652591636c7019d98 /lib/CompilerDriver/Main.cpp
parentd29ab228d3c317d14cecd27e70cfdf516a4705cf (diff)
downloadexternal_llvm-f37e049673053555ee04cd9acabe77f3984a04bb.zip
external_llvm-f37e049673053555ee04cd9acabe77f3984a04bb.tar.gz
external_llvm-f37e049673053555ee04cd9acabe77f3984a04bb.tar.bz2
New experimental/undocumented feature: 'works_on_empty'.
For now, just enough support to make -filelist work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver/Main.cpp')
-rw-r--r--lib/CompilerDriver/Main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp
index 3a3487a..9687707 100644
--- a/lib/CompilerDriver/Main.cpp
+++ b/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);