From: Douglas Gregor Date: Tue, 6 Dec 2011 23:04:08 +0000 (+0000) Subject: Add a FIXME to provide a sensible error message here X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e912029b914f263ec22cba6f1fb41ebebcdd844f;p=clang 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 --- 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);