[cfe-commits] r145983 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp
Douglas Gregor
dgregor at apple.com
Tue Dec 6 15:04:09 PST 2011
Author: dgregor
Date: Tue Dec 6 17:04:08 2011
New Revision: 145983
URL: http://llvm.org/viewvc/llvm-project?rev=145983&view=rev
Log:
Add a FIXME to provide a sensible error message here
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=145983&r1=145982&r2=145983&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Tue Dec 6 17:04:08 2011
@@ -1025,9 +1025,10 @@
if (llvm::sys::fs::unique_file(TempModuleMapFileName.str(), FD,
TempModuleMapFileName,
/*makeAbsolute=*/true)
- != llvm::errc::success)
+ != llvm::errc::success) {
+ // FIXME: Give a sensible error message here.
return;
-
+ }
// Print the module map to this file.
llvm::raw_fd_ostream OS(FD, /*shouldClose=*/true);
Module->print(OS);
More information about the cfe-commits
mailing list