Add a FIXME to provide a sensible error message here
llvm-svn: 145983
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index d3d33e6..454d7bd 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -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);