From: Daniel Dunbar Date: Thu, 3 Dec 2009 09:13:43 +0000 (+0000) Subject: Kill off one last exit() call. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36841b36361306618a6d457a22ef7f2f909cd6c5;p=clang Kill off one last exit() call. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90439 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp index 8b9085c7a1..123b5a0136 100644 --- a/tools/clang-cc/clang-cc.cpp +++ b/tools/clang-cc/clang-cc.cpp @@ -95,7 +95,7 @@ static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { ie = FrontendPluginRegistry::end(); it != ie; ++it) llvm::errs() << " " << it->getName() << " - " << it->getDesc() << "\n"; - exit(1); + return 0; } for (FrontendPluginRegistry::iterator it =