From e912029b914f263ec22cba6f1fb41ebebcdd844f Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 6 Dec 2011 23:04:08 +0000 Subject: [PATCH] Add a FIXME to provide a sensible error message here git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145983 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/CompilerInstance.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index d3d33e6f7c..454d7bd4fc 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -1025,9 +1025,10 @@ static void compileModule(CompilerInstance &ImportingInstance, 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); -- 2.50.1