[cfe-commits] r90436 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp
Daniel Dunbar
daniel at zuster.org
Thu Dec 3 01:13:19 PST 2009
Author: ddunbar
Date: Thu Dec 3 03:13:19 2009
New Revision: 90436
URL: http://llvm.org/viewvc/llvm-project?rev=90436&view=rev
Log:
Remove an unnecessary (I believe) exit() on error.
Modified:
cfe/trunk/lib/Frontend/CompilerInstance.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=90436&r1=90435&r2=90436&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Thu Dec 3 03:13:19 2009
@@ -172,10 +172,6 @@
if (!PPOpts.TokenCache.empty())
PTHMgr = PTHManager::Create(PPOpts.TokenCache, Diags);
- // FIXME: Don't fail like this.
- if (Diags.hasErrorOccurred())
- exit(1);
-
// Create the Preprocessor.
HeaderSearch *HeaderInfo = new HeaderSearch(FileMgr);
Preprocessor *PP = new Preprocessor(Diags, LangInfo, Target,
More information about the cfe-commits
mailing list